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

Re: Man page output



On Sun, Jun 02, 2002 at 10:01:20PM +0100, Colin Watson wrote:
> 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).
> 

Yes, it is. One of these days I will change that alias. It seems to work
with signal (7). Maybe there's another example where my method fails.

Thanks for the correction,
Andy


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: