Digital Wokan <[EMAIL PROTECTED]> writes:
> Is it just my weird setup? (NFS share off a Quantum Snap 4100) RPM was
> always case-sensitive in the past, but when I do something like rpm -Fvh
> [A-C]*.rpm now it was updating cups-drivers, arts, console-tools, etc.
> So was there a change made, or is it something in my setup that'll probably
> have me beating my head against the wall repeatedly for not seeing it sooner?
> (Yes, it's mounted using NFS, not SMB.)
The expansion is made by your shell, not rpm; verify the full
process call name with "ps auxww" if you may.
man bash
Pathname Expansion
..
[...] Matches any one of the enclosed characters. A pair of charac-
ters separated by a hyphen denotes a range expression; any char-
acter that sorts between those two characters, inclusive, using
the current locale's collating sequence and character set, is
matched. If the first character following the [ is a ! or a ^
then any character not enclosed is matched. The sorting order
of characters in range expressions is determined by the current
locale and the value of the LC_COLLATE shell variable, if set.
A - may be matched by including it as the first or last charac-
ter in the set. A ] may be matched by including it as the first
character in the set.
LC_COLLATE=C should be able to give you the behaviour you expect
(thx pablo) but it seems broken (on my machine, by default A-B is
AbB and with COLLATE as C it's ABb).
--
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/