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

Chet Ramey <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs,gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
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    [email protected]    http://cnswww.cns.cwru.edu/~chet/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.