Convert 'man' pages to text files

Apr 08, '02 01:05:23AM

Contributed by: autohag

I can't really take credit for this as it came straight from the Unix Guru Universe Tip of the Day (subscribe). To save a copy of any man page to text simply type:

man command_name | col  -b > output_file_name
For example:
man grep | col -b > grep.txt
This can be especially useful for larger man pages (tcsh, for example), as you can now open and work with the text file in any GUI text editor.

Comments (5)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020408010523398