To remove some lines from a file
steve at holdenweb.com
Wed Oct 25 18:27:14 CEST 2006
Sebastian Busch wrote:
> umut.tabak at student.kuleuven.be wrote:
>>... I would like to remove two lines from a file.
> I am quite new myself -- but wouldn't grep -v do that easier (and
> perhaps faster)?
Kindly show how to use grep to solve this problem:
Remove the first two lines that don't begin with "@" from a file.
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list