Bug 55041 - Sort order of 'ls' is broken.
Summary: Sort order of 'ls' is broken.
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-24 18:53 UTC by Need Real Name
Modified: 2007-04-18 16:37 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-10-24 21:52:23 UTC


Attachments (Terms of Use)

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.




Note You need to log in before you can comment on or make changes to this bug.