This seems pretty cool & also gem-worthy

Begin forwarded message:

From: Chris Pepper <[EMAIL PROTECTED]>
Date: March 10, 2006 4:24:24 PM CST
To: [email protected]
Subject: Re: ManOpen Opens Man Pages
Reply-To: TidBITS Talk <[email protected]>

        First, thanks John W. Baxter & Matt Neuberg for suggesting
"col -b" to clean up manual pages for piping. I just wrote a bash
function to save some tying and make things a bit cleaner. I use the
following in my profile (it should normally go in ~/.profile or
~/.bashrc):

function manb () { man $* | col -b | bbedit --clean --view-top
--pipe-title $*; }

        So now I can "manb ssh" or "manb scp sftp" and get a nice
BBEdit window with the clean content. I decided it wasn't worth
breaking multiple commands into separate windows, but that could be
added easily enough with a loop, if desired.


                                                Chris
--
Chris Pepper:               <http://www.reppep.com/~pepper/>
Rockefeller University:     <http://www.rockefeller.edu/>


--
If you want to unsubscribe or change your address, use this link:

http://emperor.tidbits.com/webx?unsub@@.3c3f6899!u=305447ef

--
Lorin Rivers
Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
<mailto:[EMAIL PROTECTED]>
512/203.3198 (m)



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to