[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug or feature?
From: |
Bob Proulx |
Subject: |
Re: bug or feature? |
Date: |
Mon, 17 Mar 2003 09:19:25 -0700 |
User-agent: |
Mutt/1.3.28i |
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 or feature?, Frederic Udina, 2003/03/17
- Re: bug or feature?,
Bob Proulx <=