GNU bug report logs - #7525
bug in sort command

Previous Next

Package: coreutils;

Reported by: "Kielbasiewicz, Peter" <peter.kielbasiewicz <at> philips.com>

Date: Wed, 1 Dec 2010 13:41:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7525: closed (bug in sort command)
Date: Wed, 01 Dec 2010 16:49:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 01 Dec 2010 08:53:40 -0800
with message-id <4CF67D94.8060306 <at> cs.ucla.edu>
and subject line Re: bug#7525: bug in sort command
has caused the GNU bug report #7525,
regarding bug in sort command
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7525: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7525
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Kielbasiewicz, Peter" <peter.kielbasiewicz <at> philips.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: bug in sort command
Date: Wed, 1 Dec 2010 14:44:42 +0100
[Message part 3 (text/plain, inline)]
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.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Kielbasiewicz, Peter" <peter.kielbasiewicz <at> philips.com>
Cc: 7525-done <at> debbugs.gnu.org
Subject: Re: bug#7525: bug in sort command
Date: Wed, 01 Dec 2010 08:53:40 -0800
"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.


This bug report was last modified 14 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.