On Jan 11, 2008, at 1:29 PM, Doug McNutt wrote:

You can select and ENTER to execute commands in the shell of your choice. Output from the command is placed right after the command line(s) you executed. With a text file you're reduced to copy and paste into Terminal.app.

Unless you write a simple AppleScript to execute a selection in a BBEdit text document using "do shell script" and insert the result after the original selection. :)

I have my script set to use the entire current line if nothing is selected. It also uses the appropriate interpreter (php -r, perl -e, ruby -e, etc.) based on the source language of the document. It's great for quickly testing a portion of code while working on a larger project.

-Dennis

--
------------------------------------------------------------------
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