English is not my first language. I try to keep it short but I don't want to sound unfriendly.
If you have a file (MyFile): George Smily, Modesty Blaise, Olof Karla, Willy Garvin, Zorro George Smily, Modesty Blaise, Karla Olof, Karla, Willy Garvin, Zorro Try a shellscript like: egrep -v 'Olof' Path-to-MyFile | bbedit This will exclude all lines containing 'Olof' and you will have: Karla Willy Garvin Zorro George Smily, Modesty Blaise, Karla in a new document in BBedit. -- Olof Svensson -------------------- 2 rules to success in life. 1. Don't tell people everything you know. 27 aug 2012 kl. 07.47 skrev gugus2000: > How can I remove lines from a large file that do not contain a certain > pattern? I can easily find the lines with the pattern but then...? The way > I do it today is using grep on the command line with io-redirection but I > think there should be a way to do it from within BBEdit. > > Thanks for your help > ---markus--- > -- -- 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 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 feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>