Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2010 23:13:28 -0430
From:      Alberto Mijares <amijaresp@gmail.com>
To:        Fbsd1 <fbsd1@a1poweruser.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: how to find literal in file and them delete that line
Message-ID:  <AANLkTik0z3vwkm1vW2F4JHqyVpVOAVllopt-w9C8J9KQ@mail.gmail.com>
In-Reply-To: <4BE77FB1.2050607@a1poweruser.com>
References:  <4BE77FB1.2050607@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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


Alberto Mijares



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik0z3vwkm1vW2F4JHqyVpVOAVllopt-w9C8J9KQ>