How to print a man file?
Eric Richardson
plug-discuss@lists.PLUG.phoenix.az.us
Fri, 11 May 2001 08:31:45 -0700
Brian Cluff wrote:
>
> It's not just ^H's you have to get rid of.
> The cleanest way that I have found to convert a man page over to plain text
> is:
> man -t manpage | ps2ascii | fold -s
>
> It's a lot of work to get text, but it seems to work better than anything
> else that I have found.
Not sure what else other than the ^H you need to get rid of but
the suggestion from John seems to work fine and is more direct.
man manpage | col -b
The suggestion from George looks great in a post script viewer as well.
man -t manpage
Thanks for all the help,
Eric :-)