Subject: bin/32910: sed/find should align with grep (and its -E option).
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <i18rabbit@cwazy.co.uk>
List: netbsd-bugs
Date: 02/23/2006 07:35:00
>Number: 32910
>Category: bin
>Synopsis: sed/find should align with grep (and its -E option).
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Feb 23 07:35:00 +0000 2006
>Originator: i18rabbit@cwazy.co.uk
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD 3.0 (MYKERN) #2: Fri Feb 17 13:12:07 AKST 2006 /usr/src/sys/arch/i386/compile/MYKERN i386
Architecture: i386
Machine: i386
>Description:
in NetBSD, both "sed" and "grep" support an -E option.
"find" should as well (as in FreeBSD). furthermore,
there should be an "efind" and "esed" that can be
called without the "-E" option, as grep/egrep do.
this should be done for consistency/streamlining
purposes, in regards to usage on the command line
as well as in shell code. it's a little kludge
of regular experession types in a related set
of very important and very much used utilities.
>How-To-Repeat:
not applicable.
>Fix:
from a FreeBSD bug report on the same subject,
it appears the fix is simple - eg, a one-liner
in sed which already supports the -E option.