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


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to