bug-bash
[Top][All Lists]
Advanced

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

Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?


From: Chet Ramey
Subject: Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?
Date: Thu, 27 Jun 2013 14:51:13 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 6/27/13 3:33 AM, Aharon Robbins wrote:
> Hi Paolo.
> 
>> I still believe that there is no place other than the glibc locale
>> descriptions where this can be fixed.
> 
> This is necessary but not sufficient. All of gawk, grep, sed and bash
> run on lots of non-GLIBC systems.  The locale definitions, even for
> the same locale, vary wildly out in the wild.  Therefore there's no
> other practical choice but to fix each program to provide Rational
> Range Interpretation.

This is correct.  I am interested in bash behaving consistently across all
platforms where it runs.  Modifying glibc's locale descriptions doesn't
have much, or at least not enough, to do with that.

> Fortunately, gawk and grep are already there, and I think the sed in
> the git repo is as well.  Once Bash turns this on as default, the
> world will definitely be a better place, independent of GLIBC.

The world is larger than glibc and the glibc locale definitions.  We need
a solution that encompasses all of it.  That solution should, and maybe
will, include glibc, but that is not sufficient by itself.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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