Mike Frysinger <[EMAIL PROTECTED]> wrote: > On Tuesday 19 December 2006 03:05, Jim Meyering wrote: >> Since you don't mention locale, nor show it in the >> sole sort command you used, I have to ask: > > sorry, you are correct ... the C locale gives proper output, but en_US does > not and my glibc-2.5 systems just happen to be either en_US or en_US.utf8 in > LANG > > so what part am i missing wrt to collation in the en_US locale ? i am an > english speaking person in the US and i wouldnt say that sort order is > correct, but my profession isnt exactly librarian ;)
Just realize that with e.g., en_US, many non-alphanumeric characters (like "/" and " " in your data) are simply ignored by the comparison function. http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021 _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
