[a...@eris ls]$ echo $LC_COLLATE
en_US.UTF-8
[a...@eris ls]$ ls
a0b a4b a8b a`b a=b a_b a:b a'b a[b a...@b a&b alb apb azb
a1b a5b a9b a^b a>b a-b a!b a"b a]b a$b a#b aLb aPb aZb
a2b a6b aab a~b a|b a,b a?b a(b a{b a*b a%b amb aqb
a3b a7b aAb a<b a b a;b a.b a)b a}b a\b a+b aMb aQb
[a...@eris ls]$
Each of these is a file with a three-character name, first character
'a', third character 'b'. Why aren't these sorted in strict ASCII
order, or even case-insensitive ASCII order? 'a b' then 'a!b' then ...
then 'a}b' then 'a~b'? No problems or anything urgent here, just been
curious about it for a while. I tried looking through the source code,
but it looks to me like it just uses 'strcoll'. Thanks in advance for
any explanation!
Adam
_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm) MHVLS Auditorium
Mar 7 - Web Hack-a-thon - SUNY Newpaltz
Apr 1 - EC2 and Cloud Computer
May 6 - TBD