man? - solved

Peter Dalgaard BSA pd@kubism.ku.dk
Thu Feb 6 11:01:00 GMT 1997


dahms@ifk20.mach.uni-karlsruhe.de writes:

> 
> Hi, you wrote:
> 
> :  troff -man -Tascii bash.1 | grotty | less
> 
> Isn't this the same as
>    groff -man -Tascii bash.1 | less

Yes, but in the NT groff package, there *is* no groff command (the
wrapper didn't work under 'raw' NT, apparently). But with bash in
place, you can make an nroff as

#!/bin/sh
troff -Tascii $* | grotty

and then create a simple 'man' as something like

#!/bin/sh
nroff -man /usr/man/man*/$*.* | less

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list