|
|
What's the touch for?
I haven't tried this; I don't use pine - but why do you need the touch? Is it creating the file $1? Wouldn't bbedit do that for you if you gave it the name of a file that doesn't exist?
Re: What's the touch for?
It is indeed necessary for the touch command to create the file first. Otherwise, the open command throws an error message out when it tries to have BBEdit Lite open the file and won't go any farther.
What's the touch for?
If you have the full BBEdit 6.5, set the environment variable EDITOR to bbedit -c -w. The -c switch creates the file if necessary, and the -w switch "allows the bbedit tool to be used as an external editor for Unix tools that use the EDITOR global environment variable" (from the manpage).
|
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.08 seconds |
|