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