[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Case matching error
From: |
Jan Wielemaker |
Subject: |
Re: Case matching error |
Date: |
Mon, 6 Mar 2006 10:38:16 +0100 |
User-agent: |
KMail/1.8.2 |
On Monday 06 March 2006 10:29, Tim Waugh wrote:
> On Mon, Mar 06, 2006 at 01:11:50AM -0400, Tony Abou-Assaleh wrote:
> > Thanks Jan for the report.
> >
> > I confirm that this bug applies to the cvs version of grep. The example
> > reported, however, behaves differently on my environment.
>
> The original reporter is seeing the correct implementation of the
> locale stuff, I imagine.
gollem (~) 1_> locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
System is using glibc 2.3.5. I can confirm that the bug disappears when
doing
gollem (~) 3_> LANG=C grep '[A-Z]'
a
ab
So it is locale related. The --color tests give the expected -correct-
results on my default locale (en_GB.UTF-8).
--- Jan