I'd recommend the csplit UNIX command. I use it every month after
building a large HTML file to break that file into bits at each <h1>
tag, which gives me the sections I need for loading the bits into
Movable Type. After you get the csplit configuration you need, save it
in a Shell Worksheet so you can easily modify and invoke it as needed.

On Jan 10, 6:27 am, Ptarmigan <[email protected]> wrote:
> I have inserted the word CODE at intervals in a file
>
> I have grepped the file using : CODE(?s).*?(?=CODE)
>
> This grep selects chunks of the file as required. Great.
>
> However, I am not sure how to get each chunk into a separate .txt file
> via BBEdit's text processing tools. I don't wanna do this manually.
>
> Suggestions ?
>
> Ptarmigan

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
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
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to