Subject: Re: find(1) with extended regexps
To: Daniel de Kok <danieldk@pobox.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-userlevel
Date: 07/18/2007 12:17:15
--APlYHCtpeOhspHkB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Tue, Jul 17, 2007 at 03:07:09PM +0200, Daniel de Kok wrote:
| Any objections to committing the attached patch for adding the '-E'
| option to find(1) to interpret regexps as extended regexps like grep
| and sed do? FreeBSD also seems to provide this functionality, and
| it is pretty handy, without having many downsides.
The idea in principle sounds good to me.
You should remove REG_BASIC from the argument list given to c_regex_common()
by various functions that call it.
--APlYHCtpeOhspHkB
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQFGnXgrpBhtmn8zJHIRAoDGAJ97f9EBwHWNbOlYNA7AYTwrvsZdAgCfaha5
PS8M0WewnEFNMaAFSbNx8zM=
=LT7b
-----END PGP SIGNATURE-----
--APlYHCtpeOhspHkB--