On 23 Sep 2024, at 4:32, Alberto GutiƩrrez wrote:

> Hello, I'm trying to write a simple script to run sequentially grep
> patterns saved in BBEdit. I asked Claude to do so and i got this code:

Are you desiring to perform multiple Grep replacements in a sequence? If so, 
the "replace" verb is what you need, rather than "find". The script editor's 
"Record" feature might be helpful here.

However, for sequential "Replace All" operations, a Text Factory is probably 
the appropriate tool to use. (Or Canonize.) More about both of these is 
available in the user manual (via the Help menu).

R.

-- 
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/57AA7F62-F069-43FF-AD35-2C88B61C4CB3%40barebones.com.

Reply via email to