[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Printing man pages



On Thu, Aug 22, 2002 at 10:04:09AM -0500, Zane Dodson wrote:
> On Thu, Aug 22, 2002 at 08:41:35AM -0400, Bodnyk, Bruce W wrote:
> | Can someone tell me the syntax to use to format a man page
> | listing so it can be sent to a printer?
> 
> % man -w ls  # locate man page for ls
> % zcat /usr/share/man/man1/ls.1.gz | groff -man -Tps > /tmp/ls.ps
                                             ^^^^ -mandoc

(so that it works for -mdoc pages like ash(1) too)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: