Subject: bug#7525: closed (Re: bug#7525: bug in sort command)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 01 Dec 2010 16:49:02 +0000

Your bug report

#7525: bug in sort command

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
7525: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7525
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#7525: bug in sort command
From: Paul Eggert <[email-masked]>
To: "Kielbasiewicz, Peter" <[email-masked]>
Cc: [email-masked]
Date: Wed, 01 Dec 2010 08:53:40 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

"sort --help" says:

  *** WARNING ***
  The locale specified by the environment affects sort order.
  Set LC_ALL=C to get the traditional sort order that uses
  native byte values.

and this most likely explains your situation.

Subject: bug in sort command
From: "Kielbasiewicz, Peter" <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Wed, 1 Dec 2010 14:44:42 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,
there seems to be a bug in Ubuntu's 10.10  sort command.
I suspect that it defaults to the  -f option  now which I think is wrong.
e.g.
{  echo a
   echo j
   echo A
   echo i
   echo AA
   echo B
} | sort

produces
a
A
AA
B
i
j

instead of
A
AA
B
a
i
j
--
With kind regards,

Peter

________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.