* Jim Meyering (j...@meyering.net) [20110616 11:57]: > In some locales, the [A-Z] regexp currently matches 25 of the > lower case letters. For example, > > $ echo a| LC_ALL=cs_CZ grep '[A-Z]' > a > $ echo y| LC_ALL=cs_CZ grep '[A-Z]' > y
Sorry for chiming in late, but IMO that's why [:upper:] and [:lower:] exist and work as expected. On the other hand, SUSE by default ignores locale settings besides LC_CTYPE for root exactly because so many scripts blindly assume ASCII locale. Philip