Bug 10117

Summary: critical bug with RH6.1 sort
Product: [Retired] Red Hat Linux Reporter: sidlon
Component: textutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-11 18:00:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sidlon 2000-03-10 22:05:33 UTC
Sorting the following text with sort 2.0 produces incorrect results when run on a default RH6.1 installation:
   Input:
1.2.345.600
1.2.34.500
1.2.3.456
1.2.456.700
1.2.356.8
1.2.4.5
   Output:
1.2.34.500
1.2.3.456
1.2.345.600
1.2.356.8
1.2.4.5
1.2.456.700

   I have corresponded with Jim Meyering (meyering) 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.

Comment 1 Jeff Johnson 2000-03-11 18:00:59 UTC
*** This bug has been marked as a duplicate of 7020 ***