On Aug 28, 2008, at 6:58 PM, rowen wrote:
> A feature I'd really like to see is the ability to write scripts in
> any standard language (e.g. Python or Perl) that can modify the
> current selection by reading it from standard output and writing the
> modified version to standard output. If no text is selected then
> transform the entire document.
Rowen,
A #! (nee Unix) filter solves this need exactly.
The only difference is that the selection is actually passed to the
script in a temporary file (first argument in ARGV.)
Look at the examples which ship with BBEdit. In the menubar...
#! -> Unix Filters -> ...
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
-~--~~~~--~~--~--~---