No need for exposure to Applescript. Create a new text factory in BBEdit. Add a step "Process lines containing". In the options of that step make sure you have the option "Delete matched lines" selected. (I recommend the "Text factories" chapter in the BBEdit User Manual (chapter 5) for more on text factories possibilities)
regards Roland On Sat, May 2, 2009 at 7:42 AM, Greg Reyna <gre...@socal.rr.com> 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. > > Thanks for any help, > Greg Reyna > > > > > --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---