in reply to
delete a line by a string
This shall work: grep -v "string to delete" file > newfile newfile should now contain all lines except the ones with the "string to delete".
Comment on
Re: delete a line by a string
In Section
Seekers of Perl Wisdom