How to print a man file?

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Eric Richardson
Dátum:  
Tárgy: How to print a man file?
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 :-)