Subject: Re: man? - solved
From: [email-masked] (Peter Dalgaard BSA)

6 Feb 1997 14:07:29 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
References: <[email-masked]>
Original-To: [email-masked]
Original-Cc: [email-masked], [email-masked]
In-Reply-To: [email-masked]'s message of Thu, 06 Feb 1997 02:13:39 EST
X-Mailer: Gnus v5.2.40/Emacs 19.34
Original-Sender: [email-masked]

[email-masked] 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
~~~~~~~~~~ - ([email-masked])             FAX: (+45) 35327907
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".