bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep locale off by one?


From: Paul Jarc
Subject: Re: grep locale off by one?
Date: Fri, 22 Aug 2003 13:19:03 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

address@hidden wrote:
> $ echo "Z" | grep "[a-z]"
> $ echo "Y" | grep "[a-z]"
> Y
> $ echo "a" | grep "[A-Z]"
> $ echo "b" | grep "[A-Z]"
> b
>  I know LC_ALL=C "fixes it", and I understand the collating
> order being case insensitive,

It's not case-insensitive; it's case-interleaved: aAbBcC...xXyYzZ.


paul




reply via email to

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