Re: Man page output
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
does a great job as well at producing a print.ps output, and you don't
have to setup a postscript printer that you need with man -t | lpr -Pps.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com