Bug 55041

Summary: Sort order of 'ls' is broken.
Product: [Retired] Red Hat Linux Reporter: Need Real Name <ddm>
Component: fileutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: pll
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: 2001-10-24 21:52:23 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 Need Real Name 2001-10-24 18:53:05 UTC
Description of Problem:

Sort order of 'ls' is broken.  There is nothing in any of the documentation
about this change of sort order.  What'd you break?

Version-Release number of selected component (if applicable):

RH 7.1

How Reproducible:

Always

Steps to Reproduce:
1. run ls
 

Actual Results:
Something broken

Expected Results:
Something not broken

Additional Information:

Comment 1 Bernhard Rosenkraenzer 2001-10-24 21:52:18 UTC
I'm not seeing anything broken in there. Please attach a test case.

If you're referring to the fact that the sort order is

a
Ab
b

rather than

Ab
a
b

That's because your locale is case insensitive and you can return to the old 
behavior by setting LC_COLLATE=C in /etc/sysconfig/i18n.
This has been the case ever since locale support was added to the GNU tools.

Is that what you're talking about?


Comment 2 Bernhard Rosenkraenzer 2001-10-30 13:10:52 UTC
Assuming my assumption was correct due to lack of feedback.