how to find literal in file and them delete that line

Fbsd1 fbsd1 at a1poweruser.com
Mon May 10 03:38:27 UTC 2010


I want to search every line in the specified file for a literal and if 
found then delete that line from the file and save the file all from 
within a sh type of shell script.

Does anyone have a example they would share with me?

Thanks.


More information about the freebsd-questions mailing list