[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort

From: Bob Proulx
Subject: Re: sort
Date: Wed, 11 Dec 2002 10:23:24 -0700
User-agent: Mutt/1.4i

Andrew Robb <address@hidden> [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.


You can see which locale you are configured to use with the '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.


Please follow up to the list and not to be me personally unless it is

reply via email to

[Prev in Thread] Current Thread [Next in Thread]