bug-fileutils
[Top][All Lists]
Advanced

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

Re: ls strange sort behavior...


From: Bob Proulx
Subject: Re: ls strange sort behavior...
Date: Sun, 3 Aug 2003 21:19:12 -0600
User-agent: Mutt/1.3.28i

jonathan j kapleau cis stnt wrote:
> Sorry about that.  Here is the result from running locale on my machine:
> LANG=en_US.iso885915
> Hope that helps.

Immensely.  (Thanks David!)

> > % Sorry if you are already aware of this.  What follows is the result of:
> [...dictionary sort order example...]

You must be using a RH or derived system.  :-(  RH does not give you
the option not to set this variable and therefore it surprises people
when RH systems sort with a non-standard sort order.  It is probably
the number one reported bug in RH systems.  Unfortunately people
report it to us here instead of to them there.  You can unset lang to
return to the standard default and I believe all sorting operations
will return to what you expect.

Here is a semi-standard reply:

Please read this faq, look for "Sort does not sort" for the entry in
question.

  http://www.gnu.org/software/coreutils/faq/coreutils-faq.html

See the standards documentation for more information on the locale
variables with regards to sort.

  http://www.unix-systems.org/single_unix_specification_v2/xcu/sort.html

Bob




reply via email to

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