This seems pretty cool & also gem-worthy
I used to do this (although I used col -bx, since my tab spacing in
BBEdit is normally set to 2 characters), but eventually switched to
using Bwana from Safari (since I have Safari open about as often as
BBEdit) and that way the links all work (eg man:col links to
man:nroff and others).
Enjoy,
Peter.
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]>
--
<http://www.stairways.com/> <http://download.stairways.com/>
--
------------------------------------------------------------------
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]>