GNU bug report logs -
#9580
sort 8.5 bug?
Previous Next
Reported by: Sean Sun <sean.x.sun <at> gmail.com>
Date: Thu, 22 Sep 2011 21:46:01 UTC
Severity: normal
Tags: notabug
Done: Eric Blake <eblake <at> redhat.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
#########################################################
Ubuntu 11.04
2.6.38-11-generic-pae
sort --version
sort (GNU coreutils) 8.5
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
##########################################################
I created two testing files: File_A and File_B.
cat File_A
.
BAD.
sort File_A
.
BAD.
cat File_B
.s
BAD.s
sort File_B
BAD.s
.s
So basically, appending a letter after ‘.’ would reverse the sort order.
That doesn't look quite right. Is there an explanation for this behavior?
I've tried the same on a Mac, and their sort (5.93) woks just fine.
I've also tried set LC_ALL='C'. Just in case it's a funky locale problem,
but didn't make a difference.
--
View this message in context: http://old.nabble.com/sort-8.5-bug--tp32503840p32503840.html
Sent from the Gnu - Coreutils - Discuss mailing list archive at Nabble.com.
This bug report was last modified 13 years and 269 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.