Date: Mon, 10 May 2010 12:07:55 +0800 From: Fbsd1 <fbsd1@a1poweruser.com> To: Alberto Mijares <amijaresp@gmail.com> Cc: "questions@freebsd.org" <questions@freebsd.org> Subject: Re: how to find literal in file and them delete that line Message-ID: <4BE7869B.1060406@a1poweruser.com> In-Reply-To: <AANLkTik0z3vwkm1vW2F4JHqyVpVOAVllopt-w9C8J9KQ@mail.gmail.com> References: <4BE77FB1.2050607@a1poweruser.com> <AANLkTik0z3vwkm1vW2F4JHqyVpVOAVllopt-w9C8J9KQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alberto Mijares wrote: > On Sun, May 9, 2010 at 11:08 PM, Fbsd1 <fbsd1@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BE7869B.1060406>