Thanks Steve, that worked perfectly. I didn't know about that menu item. Also thanks to Seth and Roland. I'm in the middle of learning Python (a language that makes a heck of a lot more sense to me that AS!), and would like to explore Grep. Being a non-math person with a son that's a math major at UCSC, I've got to keep learning so I can manage some kind of conversation with him about his world! Text Factories are a part of BBEdit I've not explored yet either. ARexx on the Amiga was the ideal language for a guy like me. When OOP principles were brought in, I became immediately lost, but Mark Lutz's excellent book on "Learning Python" is giving me hope. That man is a teacher worthy of the name.
I continue to keep plugging away at programming, but use BBEdit primarily for writing. I like to keep it simple, then "pour" the finished doc into a DTP program to control the look of everything. Greg >On May 2, 2009, at 1:42 AM, Greg Reyna wrote: > >> I'm trying to write a script that will open an ascii file, search for >> a word, delete the entire line that word is on, then search again to >> EOF, and save. Apple Script gives me the shivers. Usually, if I can >> find a script that does something similar to what I need, I can modify >> it to make it work. Can't find anything like this, simple as it seems >> to be. > >Try "Process Lines Containing" on the Text menu. > >I'm fairly certain there's an AppleScript equivalent for that command >as well. > >Steve > > --~--~---------~--~----~------------~-------~--~----~ 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 bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "supp...@barebones.com" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---