man command_name | col -b > output_file_nameFor example:
man grep | col -b > grep.txtThis 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.
|
|
|
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_nameFor example: man grep | col -b > grep.txtThis 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.
•
[6,933 views]
Hint Options
email yourself man pages
I work at a number of different machines and this way I can easily collect notes and help files in one place on my laptop.
email yourself man pages
Here is a thread on the forum that should get you there.
Had to look this up in my library
The April 2002 issue of "Linux Journal" has a really good article on sendmail AND a Mac OS X review! Mostly positive.
Graphical man page programs
There are a variety of graphical man page programs for OS X, several of which offer command-line equivalents and would seem to more than obviate the need for saving mage pages to a text file. See versiontracker. Collect all 5! But I like XManview the best.
Built Alias for This Hint
I saw this hint on O'Reilly, under their BSD tutorials. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.16 seconds |
|