Re: Printing man pages (Was Re: Re: [Hampshire] Online regex…

Top Page

Reply to this message
Author: Stuart Sears
Date:  
To: Hampshire LUG Discussion List
Subject: Re: Printing man pages (Was Re: Re: [Hampshire] Online regex)
Bob Dunlop wrote:
> Hi,
>
> As always theres more than one way to string a cat.
>
>
> On Fri, Mar 28 at 03:44, Andy Smith wrote:
>> On Fri, Mar 28, 2008 at 03:36:59PM +0000, Ottavio Caruso wrote:
>>> By the way how can I format the man pages so I can print it?
>> man2ps foo.1 | lp
>
>
> I don't have man2ps on my box but
>
>     groff -man foo.1 | lpr

>
> has always worked for me.



...or indeed

man -t whatever | lpr

so you can still do
man 5 -t passwd | lpr

Stuart
--
Stuart Sears RHC*