This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: man? - solved


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]