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


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: Mirraz Mirraz <mirraz1 <at> rambler.ru>
Cc: 15773 <at> debbugs.gnu.org
Subject: bug#15773: grep-2.15 bug report
Date: Thu, 31 Oct 2013 21:38:24 -0700
[Message part 1 (text/plain, inline)]
On Thu, Oct 31, 2013 at 8:36 PM, Jim Meyering <jim <at> meyering.net> wrote:
> 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:

And here's a proper patch, including NEWS and test suite additions:
[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.