Bug 126131

Summary: Sorting order is wrong for leading underscores
Product: Red Hat Enterprise Linux 3 Reporter: Need Real Name <lsof>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:04:06 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 2004-06-16 14:43:45 UTC
Description of problem:
When using UTF8, underscores should come before letters.

# printenv LANG
en_US.UTF-8

# ls
apple
_banana
cabbage

# LANG=C ls
_banana
apple
cabbage

Comment 1 Tim Waugh 2004-06-25 11:02:03 UTC
This is not to do with UTF-8, but with en_US, and the collation
behaviour you see is correct and mandated by POSIX.  See also bug #76328.

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

Comment 2 Red Hat Bugzilla 2006-02-21 19:04:06 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.