From owner-cvs-all Tue May 7 18:38:33 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 F32C937B419 for ; Tue, 7 May 2002 18:37:58 -0700 (PDT) Received: (qmail 24639 invoked by uid 1001); 8 May 2002 01:41:48 -0000 Date: Wed, 8 May 2002 01:41:48 +0000 From: "J. Mallett" To: John Baldwin Cc: "J. Mallett" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Garance A Drosihn Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Message-ID: <20020508014148.GB28536@FreeBSD.ORG> References: <20020508005957.GA28683@FreeBSD.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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