Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 23:06:03 +0000
From:      "J. Mallett" <jmallett@FreeBSD.ORG>
To:        David O'Brien <obrien@FreeBSD.org>, "J. Mallett" <jmallett@FreeBSD.ORG>, 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>
In-Reply-To: <20020507155554.B31179@dragon.nuxi.com>
References:  <200205071832.g47IWJO26790@freefall.freebsd.org> <20020507214610.GA30780@FreeBSD.ORG> <20020507155554.B31179@dragon.nuxi.com>

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




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