man pages in plain text - how to?
cswiger at mac.com
Fri Jun 9 19:28:18 UTC 2006
On Jun 9, 2006, at 3:01 PM, Wayne wrote:
> Was wondering how to get "man" to output pages in plain text? I
> want the basic formating (indentation & whatnot) but NOT the bold
> and other special effects. Just ascii text I can grep through. I
> tried setting the terminal type to "dumb" and the stupid thing
> still tries to do back-space overstrike bolding (jeesh - even
> LA-120s had fancier print capabilities than that, IIRC.)
env TERM=dumb PAGER=ul man man
...seemed to work OK for me, compare this to not specifying a pager
when you redirect the output to a file. Reading "man grotty" might
give you additional things to tweak...
More information about the freebsd-questions