[PLUG] Case insensitive fedora
Sean Whitney
sean.whitney at gmail.com
Thu Aug 2 05:49:35 UTC 2007
That's just frickin great....
I ran locale on 4 different machines and got
C
en_US
en_US.UTF-8
POSIX
I think I will curl up in a ball now and cry......
Sean
Dan Young wrote:
> 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.
>
>
More information about the PLUG
mailing list