GNU bug report logs - #16481
dfa.c and Rational Range Interpretation

Previous Next

Package: grep;

Reported by: Aharon Robbins <arnold <at> skeeve.com>

Date: Fri, 17 Jan 2014 13:41:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #53 received at 16481 <at> debbugs.gnu.org (full text, mbox):

From: Paolo Bonzini <bonzini <at> gnu.org>
To: arnold <at> skeeve.com, eggert <at> cs.ucla.edu, 16481 <at> debbugs.gnu.org
Subject: Re: bug#16481: dfa.c and Rational Range Interpretation
Date: Mon, 10 Feb 2014 10:18:16 +0100
Il 10/02/2014 10:00, arnold <at> skeeve.com ha scritto:
>>> > >
>>> > > The documentation for 'grep' attempts to address this issue, perhaps not
>>> > > as clearly as it could.  Maybe the installation instructions should talk
>>> > > about it as well, and suggest --with-included-regex for people who care
>>> > > about this sort of thing.
>> >
>> > Yeah, that makes sense.  I will revert the commit.
> I think this is the wrong course of action. Paul suggested updating the
> doc to be more clear, not reverting the code.

If you use --with-included-regex, the patch is a no-op.  Thus it can be 
reverted.

> Personally, I think grep should always use the included regex so that
> then the behavior is consistent across all platforms everywhere; this
> is why gawk always uses its own regex.

I wouldn't be surprised if GNU distros patch gawk's regex away to get 
consistency with grep, sed, etc.

Paolo




This bug report was last modified 11 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.