Bug 738518 - Bash globing broken
Summary: Bash globing broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: bash
Version: 5.8
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Roman Rakus
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-15 04:21 UTC by John Dodson
Modified: 2014-01-13 00:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-15 08:44:20 UTC


Attachments (Terms of Use)

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:


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