From owner-cvs-all Tue May 7 16:31:44 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 2B64F37B414 for ; Tue, 7 May 2002 16:31:14 -0700 (PDT) Received: (qmail 19152 invoked by uid 1001); 7 May 2002 23:34:58 -0000 Date: Tue, 7 May 2002 23:34:57 +0000 From: "J. Mallett" To: Garrett Wollman Cc: obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Message-ID: <20020507233456.GD20078@FreeBSD.ORG> References: <200205071832.g47IWJO26790@freefall.freebsd.org> <20020507214610.GA30780@FreeBSD.ORG> <20020507155554.B31179@dragon.nuxi.com> <200205072259.g47MxECF079349@khavrinen.lcs.mit.edu> <20020507160625.A31482@dragon.nuxi.com> <200205072326.g47NQrnS079650@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205072326.g47NQrnS079650@khavrinen.lcs.mit.edu> 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 07:26:53PM -0400, Garrett Wollman wrote: > < said: > > >> sed(1) is defined to obey the Utility Syntax Guidelines. > > > Point being? > > Optional arguments are not permitted. Options either take options or > they don't. We are providing forward-backwards compatability with options that an older utility has standardised in the minds of people in the community. A standard won't use sed(1), a user will. A user will want an option provided for Perl compatability to work as if it is there for Perl compatability. The guidelines don't get astonished when things are different, at most its feelings are hurt. If you like, I could #ifndef STRICT_UTILITY_SYNTAX behaviour as is being proposed. Someone could argue that '-i ""' is a fair compromise. I'm a little tempted to argue that point, but I also know I've *never* used Perl to inplace edit anything that wasn't in CVS, and so I never found a need to actually specify an extension. -- 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