* Jim Meyering ([EMAIL PROTECTED]) wrote: > [EMAIL PROTECTED] wrote: > > ??? I just used sort on a redhat Enterprise 5 server. > > > > ??? Sort seems to ignore leading "." characters.? This is incorrect. > > How sort works depends on your locale. > This link explains and tells you how to change that behavior: > > http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021
That explanation is somewhat unclear whether it's due to an unexpected behaviour of the locale or the locale tables actually being broken. I tried to read bits of the Unicode spec last time I hit this and came away not being entirely sure whether it was actually valid behaviour. If someone could point to something which says 'you should sort these non-alphanumeric characters like this' and the Linux one doesn't then perhaps someone will fix it. Dave -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \ \ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils