From owner-freebsd-bugs Mon Mar 4 6:24: 5 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 48B6B37B402 for ; Mon, 4 Mar 2002 06:24:01 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA06831; Tue, 5 Mar 2002 01:23:32 +1100 Date: Tue, 5 Mar 2002 01:24:19 +1100 (EST) From: Bruce Evans X-X-Sender: To: Peter Pentchev Cc: Subject: Re: bin/35505: [PATCH] Feature enhancement for sed(1) In-Reply-To: <200203031910.g23JA1u35963@freefall.freebsd.org> Message-ID: <20020305011227.E1276-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 3 Mar 2002, Peter Pentchev wrote: > The following reply was made to PR bin/35505; it has been noted by GNATS. > > From: Peter Pentchev > To: "Matthew D.Fuller" > Cc: FreeBSD-gnats-submit@freebsd.org > Subject: Re: bin/35505: [PATCH] Feature enhancement for sed(1) > Date: Sun, 3 Mar 2002 21:05:05 +0200 > > On Sun, Mar 03, 2002 at 12:27:40AM -0600, Matthew D.Fuller wrote: > >=20 > > >Number: 35505 > > >Category: bin > > >Synopsis: [PATCH] Feature enhancement for sed(1) > > >Originator: Matthew D. Fuller > [snip] > > >Fix: > [patch snipped] > > I think that something like the attached would befit style(9) more. > Other than a few style nits, your patch looks great, and the functionality > is something that I really do like :) > > Now let us see how this goes down with the src committers.. The functionality is already provided in a better way by the -E flag. I agree with the gnu standard which says: ! Please don't make the behavior of a utility depend on the name used to ! invoke it. It is useful sometimes to make a link to a utility with a ! different name, and that should not change what it does. ! ! Instead, use a run time option or a compilation switch or both to ! select among the alternate behaviors. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message