GNU bug report logs - #17617
bug / regression in grep-2.19

Previous Next

Package: grep;

Reported by: Péter Radics <mitchnull <at> gmail.com>

Date: Wed, 28 May 2014 15:31:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Péter Radics <mitchnull <at> gmail.com>
To: 17617 <at> debbugs.gnu.org
Subject: bug#17617: bug / regression in grep-2.19
Date: Wed, 28 May 2014 10:46:29 +0200
[Message part 1 (text/plain, inline)]
Hello,

  I've found a problem introduced in the 2.19 version of grep:

[mitch <at> deneb grep-2.19]$ echo "aa" | src/grep -E 'a(b$|c$)' && echo FAIL ||
echo SUCCESS
aa
FAIL


This doesn't fail with 2.18:

[mitch <at> deneb grep-2.18]$  echo "aa" | src/grep -E 'a(b$|c$)' && echo FAIL
|| echo SUCCESS
SUCCESS


Tested on arch-linux (3.14.4-1-ARCH) and freebsd-9
Built with gcc-4.2, gcc-4.9, clang-3.3 and clang-3.4, so it's probably not
a compiler / system lib issue.

Also tested with and without the configure option
" --without-included-regex "

regards,
mitch

ps: make check passes, so a new test case should probably be included, too
[Message part 2 (text/html, inline)]

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

Previous Next


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