Subject: bin/32910: sed/find should align with grep (and its -E option).
To: None <firstname.lastname@example.org, email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/23/2006 07:35:00
>Synopsis: sed/find should align with grep (and its -E option).
>Arrival-Date: Thu Feb 23 07:35:00 +0000 2006
>Release: NetBSD 3.0
System: NetBSD 3.0 (MYKERN) #2: Fri Feb 17 13:12:07 AKST 2006 /usr/src/sys/arch/i386/compile/MYKERN i386
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.
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.