>From Matthew Fischer on 4/6/06 12:44 am:

>> What would I have to do to make this into a filter that I can call
>> from the
>> #! menu in BBEdit?
> 
> Save the following in your ~/Library/Application Support/BBEdit/Unix
> Support/Unix Filters/ folder. Then select the line in your document
> you want it to act on and choose the script from the #! menu (thanks
> Peter, I used the same idea to create a filter for myself based on
> your script :).
> 
> #!/usr/bin/perl
> 
> while(<>){
> m/.*\\(.*)/;
> print $1 =~ tr/,/,/, "\t", $_;
> }

Thanks Matthew - works first time.

Thinking it's really time I learnt some perl.

Cheers
Rich


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