Wilber Washbucket wrote:
> I noticed that ls was failing to sort alphabetically so I grabbed
> the latest version of coreutils and compiled it to test it, which
> failed as well:

Thank you for your report.  However your report matches a very common
signature that is not a bug in coreutils but is instead simply a
misunderstanding of locale.

Check your locale setting.  The 'locale' command may be used
conveniently to print out the current settings.

  locale

You are probably using a locale in which the character collating
sequence is a "dictionary" sort ordering.  (For example all of the
en_* (english) locales sort by ignoring punctuation and folding case.)

Try setting the high priority locale override to select the POSIX C
locale for everything.

  export LC_ALL=C

See this reference for more details.

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

Look for "Sort does not sort in normal order!"

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to