Bug 42193

Summary: ls has changed its default ordering
Product: [Retired] Red Hat Linux Reporter: Paul Michael Reilly <pmr>
Component: fileutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.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: 2001-05-24 19:26:27 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 Paul Michael Reilly 2001-05-24 19:26:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2smp i686; en-US; 0.8.1)
Gecko/20010425

Description of problem:
.xxx files are now listed according to XXX instead of placing them first as
a group.

How reproducible:
Always

Steps to Reproduce:
1.type ls -al
2.see that .*** files are no longer grouped together before ***
3.
	

Additional info:

Comment 1 Bernhard Rosenkraenzer 2001-05-25 10:52:54 UTC
Locale-awareness is a feature, not a bug.
If you want to turn it off, export LC_COLLATE=C


Comment 2 Adam Thompson 2001-06-07 02:45:14 UTC
Sorry.  Anything that *BREAKS* scripts after an upgrade IS NOT A FEATURE.

I don't **CARE** if it's POSIX-compliant behaviour, it is inappropriate 
behaviour for an out-of-the-box install.

Maybe that means making the default locale "C" again instead of en_US or 
en_whatever, since I don't recall any way to select the C locale during install.

...like I really needed another excuse to switch to BSD instead of upgrading a 
dozen RedHat customers to 7.1.  Much as I dislike "for historical reasons" 
showing up in the manpage, /bin/ls is critical enough to way too many scripts 
to change DEFAULT behaviours.

(Besides - since when does "." get ignored during collation?  It has a position 
in any collation order.  Maybe before alphas maybe after, but I don't expect 
collation to simply IGNORE characters it doesn't feel like sorting.)