Aharon Robbins wrote:
You'd think unicode would have something to say about collation
order that wouldn't allow such randomness, but maybe not.
It actually makes sense that it doesn't, since Unicode is more or less
a mapping of code points to glyphs, which is language independant. The
rules for collating depend upon the language.
----
Actually it makes sense that it would... and it DOES.
Bash and POSIX would appear to violate Unicode ordering.
Algorithm reference: http://www.unicode.org/reports/tr10/tr10-24.html
Collation order chart:
http://www.unicode.org/Public/UCA/latest/allkeys.txt
----
It shows that cap A-Z come before a-z.
If a sort order is set (as mine used to be) to
en_US.UTF-8
then the Unicode sort order should have been used.
In bash, it was not.
It sounds like this is a bug rooted in the C libraries?