[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposal: make [A-Z] range handling locale-independent
From: |
Philipp Thomas |
Subject: |
Re: proposal: make [A-Z] range handling locale-independent |
Date: |
Thu, 16 Jun 2011 12:39:15 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Jim Meyering (address@hidden) [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
- Re: implementing extended bracket expressions in gnulib [was Re: Dealing with character ranges in grep], (continued)
- Re: implementing extended bracket expressions in gnulib [was Re: Dealing with character ranges in grep], Paolo Bonzini, 2011/06/09
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/10
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/15
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/16
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/16
- Re: Dealing with character ranges in grep, Philipp Thomas, 2011/06/16
- Re: Dealing with character ranges in grep, Johannes Meixner, 2011/06/17
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/17
- Re: Dealing with character ranges in grep, Paolo Bonzini, 2011/06/27
- proposal: make [A-Z] range handling locale-independent, Jim Meyering, 2011/06/16
- Re: proposal: make [A-Z] range handling locale-independent,
Philipp Thomas <=
- Re: proposal: make [A-Z] range handling locale-independent, Jim Meyering, 2011/06/16
- Re: Dealing with character ranges in grep, Johannes Meixner, 2011/06/16
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/16
- Re: Dealing with character ranges in grep, Stanislav Brabec, 2011/06/16
- Re: Dealing with character ranges in grep, Johannes Meixner, 2011/06/16
- Re: Dealing with character ranges in grep, Stanislav Brabec, 2011/06/16
- Re: Dealing with character ranges in grep, Johannes Meixner, 2011/06/16
- Re: Dealing with character ranges in grep, Aharon Robbins, 2011/06/16
- Re: Dealing with character ranges in grep, Paolo Bonzini, 2011/06/27
- Re: Dealing with character ranges in grep, Jim Meyering, 2011/06/27