CFT: BSD-licensed grep [Fwd: cvs commit:
ports/textproc/bsdgrep Makefile distinfo]
cokane at FreeBSD.org
Wed Jun 18 18:38:07 UTC 2008
On Wed, 2008-06-18 at 11:25 -0700, pfgshield-freebsd at yahoo.com wrote:
> --- Mer 18/6/08, Doug Barton <dougb at FreeBSD.org> ha scritto:
> > No, "here is a new bsd grep, but change all your
> > scripts that have
> > relied on legitimate behavior of grep in the past" is
> > a non-starter. I
> > haven't checked POSIX to see whether the particular
> > construction I am
> > using fits the spec or not, but I really don't care. We
> > need to be
> > feature-compatible with the GNU versions of these tools,
> > both for
> > legacy scripts and also for those users migrating over from
> > linux.
> OK, I probably exaggerated in that GNUisms are not all that bad. Let's look at it this way.. the problem is in regex so I don't see fit to start adapting ugly workarounds in BSD grep. If we really *need* the workaround I want to be able to ifdef it out for my own testing purposes.
> By all means we will still need a GNU grep port available so we can have the best from both worlds (I already a port and sent it to Gabor for testing but I don't want to maintain it).
I agree that the regex lib is a better place to apply such a fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080618/5944f959/attachment.pgp
More information about the freebsd-current