On Oct 26, 2015, at 01:06, Vlad Ghitulescu <[email protected]> wrote:
>> You can also use the relatively new feature "Extract" from the Find Dialog.
>> 
>> ^.*0B WohnZimmer.*
> 
> This doesn’t work:
______________________________________________________________________

Hey Vlad,

I reckon that's because you didn't turn on 'Grep'.

>> For that matter you could use a text filter on a copy.
> …
> How do I use them? In the search - find - dialog and also choosing GREP?

Text Filters are pretty well explained in BBEdit's manual.

They are executable shell scripts, AppleScripts, Automator Workflows, or Text 
Factories.

Their home is here:

~/Library/Application Support/BBEdit/Text Filters/

* The folder may not exist already.  If it doesn't then create one.

Accessed from Menu-Bar » Text » Apply Text Filter » <Your Text Filter Name>

Text Filters operate on the front document.

So.

Save this:

#! /usr/bin/env bash
egrep -i "0B WohnZimmer";

~/Library/Application Support/BBEdit/Text Filters/My_Bash_Filter.sh

Save this:

#! /usr/bin/env perl -sw
while (<>) {if ( /0B WohnZimmer/ ) {print;}}

~/Library/Application Support/BBEdit/Text Filters/My_Perl_Filter.pl

The file suffixes aren't necessary – BBEdit will pick up on the shebang line in 
the scripts – however the suffixes make script types easier to identify.

--
Take Care,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to