# mysqldump some_db_name | bbedit
Pretty cool!
|
|
|
I always knew you could open files in bbedit from the command line with bbedit filename. But I just realized that you can pipe to bbedit, too! For example:
Pretty cool!
•
[6,620 views]
Hint Options
Pipe Terminal output to BBEdit
or you can run a BBEdit Shell Worksheet, those are fun :)
Pipe Terminal output to BBEdit
"man bbbedit" shows even more things you can do with bbedit.
Pipe Terminal output to BBEdit
Actually I posted this hint about a month ago. :)
Take a look at it for some examples.
Pipe Terminal output to BBEdit
Interesting pile of code it barfs into the Terminal window in the process!
Pipe Terminal output to BBEdit
Ok, so how do you pipe all of the current Terminal window's text
Pipe Terminal output to BBEdit
Command-A Command-C $ pbpaste | bbedit
Pipe Terminal output to BBEdit
Actually, sorry the comment above will do the entire buffer. To
do just what's shown in the window do this:
Command-A Command-C $ pbpaste | tail -24 | bbedit
Pipe Terminal output to BBEdit
I tried this but i get always an error:
Pipe Terminal output to BBEdit
You need to separately install the UNIX tools. ISTR it was a separate DMG inside the main DMG.
Pipe Terminal output to BBEdit
You can also do this if you have TextWrangler, the "lite" version of BBedit. It comes with a command-line tool called "edit". So, |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.28 seconds |
|