how to find literal in file and them delete that line

Fbsd1 fbsd1 at a1poweruser.com
Mon May 10 04:07:58 UTC 2010


Alberto Mijares wrote:
> 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
> 
That makes no sense to me.
need example



More information about the freebsd-questions mailing list