From owner-cvs-all Tue May 7 16: 2:22 2002 Delivered-To: cvs-all@freebsd.org Received: from finntroll.newgold.net (durham-ar1-4-64-252-019.durham.dsl-verizon.net [4.64.252.19]) by hub.freebsd.org (Postfix) with SMTP id 6A38A37B408 for ; Tue, 7 May 2002 16:02:15 -0700 (PDT) Received: (qmail 5333 invoked by uid 1001); 7 May 2002 23:06:04 -0000 Date: Tue, 7 May 2002 23:06:03 +0000 From: "J. Mallett" To: David O'Brien , "J. Mallett" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Message-ID: <20020507230602.GA1584@FreeBSD.ORG> References: <200205071832.g47IWJO26790@freefall.freebsd.org> <20020507214610.GA30780@FreeBSD.ORG> <20020507155554.B31179@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020507155554.B31179@dragon.nuxi.com> User-Agent: Mutt/1.3.27i Organisation: The FreeBSD Project 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:55:54PM -0700, David O'Brien wrote: > On Tue, May 07, 2002 at 09:46:11PM +0000, J. Mallett wrote: > > On Tue, May 07, 2002 at 11:32:18AM -0700, J. Mallett wrote: > > Patch to remove the "droppings" as jhb put it, if a nil extension is > > specified. > > > > I'll implement a -I option which takes no arguments on top of this, if > > it looks kosher. > > Please do not. Either make -i handle no argument (as Perl does); or > require an argument. But please don't be NIH and use a different flag. That was suggested by iedowse, and Wollman has told me before that optionally taking an argument is bad. Would you settle for zero-length argument acting like perl -i with no argument? If so: http://people.freebsd.org/~jmallett/sed-more-i.diff -- jmallett@FreeBSD.org | C, MIPS, POSIX, UNIX, BSD, IRC Geek. http://www.FreeBSD.org | The Power to Serve "I've never tried to give my life meaning by demeaning you." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message