Bug 12269

Summary: sort doesn't sort the way it used too
Product: [Retired] Red Hat Linux Reporter: Hans de Goede <hdegoede>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: bero, redhat
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-07-06 21:00: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 Hans de Goede 2000-06-14 15:52:12 UTC
Try:
ls --color=no -a|less

And then
ls --color=no -a|sort|less

This used to be the same, but now sort ignores . and Capitals and just
sorts on the first lowercased alpha char it finds, it feels like an MS
operating system, YUGH.

Comment 1 Bernhard Rosenkraenzer 2000-06-17 15:28:36 UTC
This is because of locale changes in glibc - reassigning.

Comment 2 Bill Nottingham 2000-07-06 21:00:21 UTC
*** Bug 12492 has been marked as a duplicate of this bug. ***

Comment 3 Alan Cox 2000-08-18 17:33:08 UTC
export LC_COLLATE=c I believe

Having beaten this about its been agreed that the new behaviour is standard and
correct.