Easiest way to remove unwanted lines from a huge text file

Posted by Shawn on Super User See other posts from Super User or by Shawn
Published on 2010-06-03T01:45:40Z Indexed on 2010/06/03 1:56 UTC
Read the original article Hit count: 252

Filed under:

I have a large text file with a size of more than 30 megabytes. I want to remove all the lines which don't match some specific criteria, e.g. lines that don't have the string 'START'. What's the easiest way to do it?

Thanks.

© Super User or respective owner

Related posts about text-manipulation