Andrew Robb <[EMAIL PROTECTED]> [2002-12-10 13:33:01 +0000]: > I have been having a problem with sort in textutils 2.0.21 under > RedHat 8.0 i386. > It seems only to be sorting on non-blank characters. > I attach a sample file that has been sorted without options. > > Solaris 5.9 places "A1 88 04" before "A187YWJ 11 02"
Thanks for the report. You have hit a common ailment. So often that a standard reply has been prepared. Please read this section on sort in the FAQ. Look for "Sort does not sorting in normal order!" This is not a problem with GNU sort but with your 'locale'. GNU sort is behaving as required. http://www.gnu.org/software/fileutils/doc/faq/ You can see which locale you are configured to use with the 'locale' command. locale Typically this is set with the LANG variable. You can unset lang to return to the built in standard default and I believe all sorting operations will return to what you expect. unset LANG If that is not your problem then please send another followup. Bob -- Please follow up to the list and not to be me personally unless it is personal. _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils