bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

foo* doesn't match when 'foobar' does; fname=FooBar on xfs w/naming "ci"


From: Linda Walsh
Subject: foo* doesn't match when 'foobar' does; fname=FooBar on xfs w/naming "ci" option
Date: Fri, 21 May 2010 01:32:26 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666

I'm not sure if this is bash specific...I'd wager not, but I'm not sure where to
put it.

I created an xfs file system with the naming version=ci, (case-ignore) flag.

This causes it to match filenames with case ignored.

So an exact match of a file name matches with the case begin ignored,
i.e. 'foobar' matches 'FooBar'.

But foo* doesn't match.

Does something need to happen for case to be ignored in wildcards, on this file
system?
The bash option to ignore case in wildcards wouldn't be a correct option
for this, as that would cause it to ignore case on all file systems
(if I understand it correctly).

So how can I get case ignored in wildcards, but only on this file system -- consistent with it's creation options? (version=ci is an option at file
system creation time).

Does bash use a generic regex library or does it have its own?

Thanks,
-linda




reply via email to

[Prev in Thread] Current Thread [Next in Thread]