[PLUG] Case insensitive fedora

Dan Young danielmyoung at gmail.com
Thu Aug 2 05:34:58 UTC 2007


On 8/1/07, Galen Seitz <galens at seitzassoc.com> wrote:
> Sean Whitney wrote:
> > So I am running a copy of fedora in virtual box and I'm trying to build
> > a rpm.  I was getting a strange error that I finally traced down in how
> > the shell is matching
> >
> > ls [A-Z]* on my debian machine give me my expected results, showing only
> > filenames that start with capital letters.
> >
> > ls [A-Z]* on my fedora virtual box doesn't give me expected results, it
> > returns all files that start with capital or lower case letters.
> >
> > The filesystem for the virtual box is logical volume ext3.
> >
> > Is this another case where RH/Fedora is trying to help me, and instead
> > really pissing me off?  Suggestions?
>
> Possibly.  Check for differences in the LC_* environment variables
> between the two systems.  Check LANG as well.

http://www.unixguide.net/unix/bash/E9.shtml

Use [:lower:] if you want a-z.

-- 
Dan



More information about the PLUG mailing list