Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 23:19:32 +0530
From:      Shantanoo Mahajan <fbsd@dhumketu.cjb.net>
To:        Xpression <admin@atenas.cult.cu>
Cc:        FreeBSD-questions <questions@FreeBSD.ORG>
Subject:   Re: Editing a file with bash...
Message-ID:  <20031029174932.GA12419@dhumketu.homeunix.net>
In-Reply-To: <001101c39e25$03cf1f30$0801a8c0@bloodlust>
References:  <001101c39e25$03cf1f30$0801a8c0@bloodlust>

next in thread | previous in thread | raw e-mail | index | archive | help
+++ Xpression [freebsd] [29-10-03 09:00 -0500]:
| Hi list, can I edit a file and delete a line by searching any parameter with
| bash ??? Thanks...
| 
| 
| ------------------------------

	grep -v string oldfile > newfile



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