GNU bug report logs - #15773
grep-2.15 bug report

Previous Next

Package: grep;

Reported by: Mirraz Mirraz <mirraz1 <at> rambler.ru>

Date: Thu, 31 Oct 2013 18:09:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Jim Meyering <jim <at> meyering.net>
To: Mirraz Mirraz <mirraz1 <at> rambler.ru>
Cc: 15773 <at> debbugs.gnu.org
Subject: Re: bug#15773: grep-2.15 bug report
Date: Thu, 31 Oct 2013 20:36:42 -0700
[Message part 1 (text/plain, inline)]
On Thu, Oct 31, 2013 at 2:55 PM, Jim Meyering <jim <at> meyering.net> wrote:
> On Thu, Oct 31, 2013 at 10:46 AM, Mirraz Mirraz <mirraz1 <at> rambler.ru> wrote:
>>
>> After updating from 2.14 to 2.15 grep has started to fail to match patterns
>> that contain '\s*' or '\s\+'
>> For example:
>>
>> (grep-2.14)
>> $ echo '[ ]' | grep '\s*'
>> [ ]
>> $
>>
>> (grep-2.15)
>> $ echo '[ ]' | grep '\s*'
>> $
>
> Thank you for the report.
> That is clearly a regression.  That is now the most compelling (of 3)
> reasons to make a new release.

Here's a preliminary patch.
I'm about to write the test suite additions to accompany it:
[k.txt (text/plain, attachment)]

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

Previous Next


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