Frederic Udina wrote:
> I understand from the man page and the info info that sort should be case
> sensitive unless option -f is given.

Correct.

> [...]
> I would expect uppercase lines sorted before lowercase...

Me too.

> I'm I wrong? Thanks in advance,

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 "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 to the
list.

Bob


_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to