Re: Man page output
On Sat, Jun 01, 2002 at 10:54:22PM -0400, Andy Saxena wrote:
> On Fri, May 31, 2002 at 06:53:50PM +0200, Pietro Cagnoni wrote:
> > Matthew Daubenspeck wrote:
> > >Is there an easy way to output man pages without all of the underlined
> > >text? I want to redirect man page output to text type files, but all
> > >of the files include squares or ^H^H^H all over the place...
> > you already got good answers to your question, but if you need
> > the text format to print it, the best thing is to use
> > man -t <something>, which will give you nicely formatted
> > postscript output.
> zcat /usr/share/man/man5/html2textrc.5.gz | groff -t -mandoc > print.ps
That's morally equivalent to 'man -t html2textrc > print.ps', but more
cumbersome and less reliable (it will fail if the man page needs a
preprocessor like tbl).
Colin Watson [firstname.lastname@example.org]
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org