From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 02:16:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07EC216A4CE for ; Thu, 30 Oct 2003 02:16:22 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-66-100.maa.sify.net [210.214.66.100]) by mx1.FreeBSD.org (Postfix) with SMTP id AA72D43FCB for ; Thu, 30 Oct 2003 02:16:19 -0800 (PST) (envelope-from fbsd@dhumketu.cjb.net) Received: (qmail 12440 invoked by uid 1000); 29 Oct 2003 17:49:32 -0000 Date: Wed, 29 Oct 2003 23:19:32 +0530 From: Shantanoo Mahajan To: Xpression Message-ID: <20031029174932.GA12419@dhumketu.homeunix.net> References: <001101c39e25$03cf1f30$0801a8c0@bloodlust> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001101c39e25$03cf1f30$0801a8c0@bloodlust> User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.9-RC i386 cc: FreeBSD-questions Subject: Re: Editing a file with bash... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 10:16:22 -0000 +++ 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