bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect lexographical sort in sort (coreutils)5.2.1


From: Brian Dessent
Subject: Re: Incorrect lexographical sort in sort (coreutils)5.2.1
Date: Thu, 27 Oct 2005 21:52:56 -0700

Murray Stokely wrote:

> The current version of GNU sort on my Linux box incorrectly
> sorts the following simple file, while an older version of GNU
> sort on MacOS X 10.4 works fine.
> 
> $ sort --version
> sort (coreutils) 5.2.1

Version 5.2.1 is more than 18 months old (released 2004-03-12) and there
have been a great number of changes since then.  You might consider
upgrading to the current stable version (5.92).

But that is not relevant to the behavior below:

>            $ sort scrambled
> version0/data/r=2/1/42 12.3
> version0/data/r=2/1/45 3.2
> version0/data/r=2 146839.1
> version0/data/r=2/1/51 10.9
> version0/data/r=2/1/52 6.6
> version0/data/r=2/1/54 7.5

This is working correctly as designed, though probably not how you
expected.
<http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021>.

Brian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]