On Wed, 2003-08-06 at 16:38, Beni Cherniavsky wrote: > Oren Held wrote on 2003-08-06: > > > Anyway something is still very strange. It happens even when LC_COLLATE > > is en_US, at least in my Mandrake 9.1. Sort works as it should only when > > LC_COLLATE is unset, C or POSIX. > > > > Anybody has Mdk 9.1 and can approve it? > > > I have distro-whose-name-is-a-trademark 9.0 and I approve :-). > > All language-based locales have collate order where lower and upper > case letters are adjacent (a,A,b,B,...); only C and POSIX (they are > aliases to the same locale, right?) use directly the ASCII order where > all uppercase letters precede all lowercase ones. There is an old > unix traditions of starting directory-central files from capital > letters (`README`, `Makefile`) so that they come first in `ls`; I like > this conrtol over sorting so I always export LC_COLLATE=C.
Interesing. Though I still don't understand why would it not sort 'ab c' and 'a c' in the correct order on Mandrake, but it's fine on Debian (when LC_COLLATE is en_US). - Oren ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
