[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in grep handling [^^] (not caret) character class
From: |
Stepan Kasal |
Subject: |
Re: bug in grep handling [^^] (not caret) character class |
Date: |
Fri, 23 Jul 2004 12:53:38 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Tue, Jul 20, 2004 at 02:35:39PM -0700, Ivan Heffner wrote:
> grep (v2.4.2) appears to have a problem trying to match [^^].
...
> grep '^[^^]$' foo.txt
I wasn't able to reproduce the bug on my system, even with the
version 2.4.2, which is quite old.
What system do you use?
What locales do you use (command locale will tell you)?
I guess that you use an early version of GNU libc version 2.x, which
probably contains the bug. Try recompiling grep, with
./configure --with-included-regex
Hope this helps,
Stepan Kasal