Bug 738518

Summary: Bash globing broken
Product: Red Hat Enterprise Linux 5 Reporter: John Dodson <jwadodson>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED NOTABUG QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.8CC: prc, tsmetana
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-15 08:44:20 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 John Dodson 2011-09-15 04:21:07 UTC
Description of problem:

Bash globing broken
try "echo [a-z]*"
it should return only lower case (first letter) files
it returns uppercase too!

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


How reproducible:
very

Steps to Reproduce:
1.echo [a-z]*
2.
3.
  
Actual results:

uppercase files are listed

Expected results:

only lower case first letter files should be listed.

Additional info:

Comment 1 Roman Rakus 2011-09-15 08:44:20 UTC
(In reply to comment #0)
> Description of problem:
> 
> Bash globing broken
> try "echo [a-z]*"
> it should return only lower case (first letter) files
> it returns uppercase too!
No. It depends on your LC_COLLATE settings. See bash FAQ; http://www.faqs.org/faqs/unix-faq/shell/bash/ Section E9
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> very
> 
> Steps to Reproduce:
> 1.echo [a-z]*
> 2.
> 3.
> 
> Actual results:
> 
> uppercase files are listed
> 
> Expected results:
> 
> only lower case first letter files should be listed.
> 
> Additional info: