how to find literal in file and them delete that line

Alberto Mijares amijaresp at gmail.com
Mon May 10 03:43:30 UTC 2010


On Sun, May 9, 2010 at 11:08 PM, Fbsd1 <fbsd1 at a1poweruser.com> wrote:
> 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.


man(1) sed

Regards


Alberto Mijares


More information about the freebsd-questions mailing list