Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 01:36:53 +0000
From:      "J. Mallett" <jmallett@FreeBSD.ORG>
To:        David O'Brien <obrien@FreeBSD.org>, "J. Mallett" <jmallett@FreeBSD.ORG>, Garance A Drosihn <drosih@rpi.edu>, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/sed main.c sed.1
Message-ID:  <20020508013651.GA28536@FreeBSD.ORG>
In-Reply-To: <20020507182750.A33043@dragon.nuxi.com>
References:  <20020507184519.GB28857@FreeBSD.ORG> <XFMail.20020507150637.jhb@FreeBSD.org> <20020507191959.GA26441@FreeBSD.ORG> <p0511173fb8fe1074d26d@[128.113.24.47]> <20020507232301.GB45271@electricjellyfish.net> <20020507233024.GC20078@FreeBSD.ORG> <p05111742b8fe1be2801c@[128.113.24.47]> <20020508005957.GA28683@FreeBSD.ORG> <20020507182750.A33043@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 07, 2002 at 06:27:50PM -0700, David O'Brien wrote:
> On Wed, May 08, 2002 at 12:59:58AM +0000, J. Mallett wrote:
> > > If a user can not be bothered to use '-I .blah' instead of
> > > '-i.blah', then they can continue to use perl for all I care.
> ...
> > I like your logic better than the logic I've been using.
> > If one or two more people will agree to this, I'll happily make
> > the necessary changes.
> 
> I do not agree, I WILL not agree.  I will commit -i[ext] later if anyone
> takes it away (or fails to add it).  The ENTIRE PURPOSE HERE is to add
> "perl -i" functionality.  NOT find how many different ways things can be
> proposed.

But unless people will shut the hell up about allowing -i with no argument,
we cannot achieve that without adding another option one way or the other.

My choices, in order:
	1) Make -i optionally take an argument, to work like Perl
	2) Leave it as is, require an argument, even if it's nil
	3) Add another flag, one way or the other.  Either -I which takes
	   no argument and acts like '-i ""', or make -I take an
	   argument, and -i not.
	4) Back out -i support at all, and let someone come up with
	   a way of doing it that won't hurt the feelings of the
	   guidelines for utilities.

Would it make the standards crowd happy to ask other BSDs if they would
be interested in this change, and furthermore, how they would like to
swing on the subject?

Until we can do 1), or 3) doesn't make people sick, I'm sticking with 2).

Hi there.
-- 
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?20020508013651.GA28536>