bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Case matching error


From: Jan Wielemaker
Subject: Case matching error
Date: Mon, 27 Feb 2006 11:08:32 +0100
User-agent: KMail/1.8.2

Hi,

I came accross a bug in grep as distributed with SuSE 10.0:

% grep --version
grep (GNU grep) 2.5.1

Please try:

% grep '[A-Z]'
a
ab
ab      # echoed: match!?

There are quite some variations possible.  Somehow the [A-Z] pattern appears
to match on two different lowercase letters.

        Regards --- Jan

P.s.    SuSE 10.0 is bundled with gcc version 4.0.2.  Guess that is the
        compiler they used to build the binaries.  I'm running the x86
        version on an AMD Athlon system.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]