Red Hat Bugzilla – Bug 10117
critical bug with RH6.1 sort
Last modified: 2008-05-01 11:37:54 EDT
Sorting the following text with sort 2.0 produces incorrect results when run on a default RH6.1 installation:
I have corresponded with Jim Meyering (firstname.lastname@example.org) from the GNU textutils project, who informed me that this is not a bug with sort itself, but the result of a conflict between sort 2.0 and the value of the environment variable LC_ALL as set by the default installation of RH. For sort to work properly, LC_ALL must be set to POSIX. Any other value will lead to incorrect results. According to Jim, this problem could be fixed by changing the default value for LC_ALL or by fixing the locale tables.
*** This bug has been marked as a duplicate of 7020 ***