Bug 42517

Summary: sort missorts certain strings
Product: [Retired] Red Hat Linux Reporter: Weiqi Gao <weiqigao>
Component: textutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-28 00:19:45 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 Weiqi Gao 2001-05-28 00:19:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; 0.8.1)
Gecko/20010421

Description of problem:
sort missorts the strings "xxxxxxxxxxxxxxxx~" and "xxxxxxxxxxxxxxxx". (The
first string contains 16 'x's and a tilde.  The second string contains 16
'x's.)

How reproducible:
Always

Steps to Reproduce:
1.run sort
2.type in "xxxxxxxxxxxxxxxx~" and "xxxxxxxxxxxxxxxx" on separate lines
3.type Ctrl-D
	

Actual Results:
xxxxxxxxxxxxxxxx~
xxxxxxxxxxxxxxxx

Expected Results:
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx~

Additional info:

sort missorts the above strings and strings with 32 'x's, 48 'x's, etc.

This problem was not present on Red Hat Linux 6.2.

Comment 1 Bernhard Rosenkraenzer 2001-05-28 06:44:38 UTC

*** This bug has been marked as a duplicate of 42397 ***