bug-coreutils
[Top][All Lists]
Advanced

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

Incorrect lexographical sort in sort (coreutils) 5.2.1


From: Murray Stokely
Subject: Incorrect lexographical sort in sort (coreutils) 5.2.1
Date: Thu, 27 Oct 2005 14:14:23 -0700

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

$ cat scrambled
version0/data/r=2/1/45 3.2
version0/data/r=2/1/42 12.3
version0/data/r=2 146839.1
version0/data/r=2/1/52 6.6
version0/data/r=2/1/54 7.5
version0/data/r=2/1/51 10.9
                                                             
                                                             
           $ 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

- Murray




reply via email to

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