Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 01:41:48 +0000
From:      "J. Mallett" <jmallett@FreeBSD.ORG>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        "J. Mallett" <jmallett@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Garance A Drosihn <drosih@rpi.edu>
Subject:   Re: cvs commit: src/usr.bin/sed main.c sed.1
Message-ID:  <20020508014148.GB28536@FreeBSD.ORG>
In-Reply-To: <XFMail.20020507213003.jhb@FreeBSD.org>
References:  <20020508005957.GA28683@FreeBSD.ORG> <XFMail.20020507213003.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 07, 2002 at 09:30:03PM -0400, John Baldwin wrote:
> 
> On 08-May-2002 J. Mallett wrote:
> > On Tue, May 07, 2002 at 08:25:19PM -0400, Garance A Drosihn wrote:
> >> At 11:30 PM +0000 5/7/02, J. Mallett wrote:
> >> >I'd go so far as to say we're implementing a superset of Perl's
> >> >capabilities in sed(1), and as such, the "old code" provision
> >> >falls in.  After all, if you re-implmeneted a whole utility, you
> >> >would want compatability.  All we want is front-end compatability
> >> >with Perl.  The options.
> >> 
> >> 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.
> >> We do need to be compatible with other versions of sed, but
> >> not with completely different commands.  A user will only
> >> use the new -i or -I if they read the man page for sed, and
> >> if they do that then they don't need the optional-argument
> >> on -i (because they will know they can use -I).
> > 
> > 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.
> 
> Make it so.
> 
> /me can't wait for sed -ie 's/suckage/good stuff/g'

You don't even need the -e.

sed -i 's/foo/bar/g' filename...

could work in theory...

sed -i '' 's/foo/bar/g' filename...

works right now.

Again, this is a matter of me saying "Hi there.", because I'm
not going to say anything else, because my better judgement tells
me that my choice 2, to leave it as it is until all the children
join hands and sing "what a wonderful world", is the best thing for
now.

I'm not going to play commit wars with people in this project, and
if it comes down to that, I won't bother to stick around.

Mostly because everyone except David is arguing aesthetics, and so
I'd be more than likely to support his stuff, even if it trampled
over my work.  But hey.

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?20020508014148.GB28536>