How to print a man file?

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Eric Richardson
日付:  
題目: 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 :-)