From owner-cvs-all Tue May 7 12:13:12 2002 Delivered-To: cvs-all@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id CA41137B409 for ; Tue, 7 May 2002 12:13:05 -0700 (PDT) Received: (qmail 17912 invoked by uid 3130); 7 May 2002 19:13:03 -0000 Date: Tue, 7 May 2002 15:13:03 -0400 From: Garrett Rooney To: John Baldwin Cc: "J. Mallett" , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Message-ID: <20020507191300.GB99742@electricjellyfish.net> References: <20020507184519.GB28857@FreeBSD.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 07, 2002 at 03:06:37PM -0400, John Baldwin wrote: > It still would have been a good idea to send out the actual patch for review > on a public list. Personally, I won't use sed -i if it insists on leaving > backup files around that I have to go the trouble to delete. I might as well > just do sed 'foo' < foo > foo.bak. I only use -i when I'm not specifying a > backup extension. Those are the only times I use perl in fact, and thus I > will probably continue to use perl for such things. i agree that it would be considerably more useful if the extension was optional, but this is still better than "sed 'blah' < foo > foo.bak" since you end up with the modified version in 'foo' rather than in 'foo.bak'. -garrett -- garrett rooney Remember, any design flaw you're rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message