Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2010 11:38:25 +0800
From:      Fbsd1 <fbsd1@a1poweruser.com>
To:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   how to find literal in file and them delete that line
Message-ID:  <4BE77FB1.2050607@a1poweruser.com>

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



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