Description of Problem:
Filename expansion in tcsh in RH7.2 seems to be broken in the following
manner: expansion by a range that begins with an element of the upper
case alphabet and ends with an element of the lower case alphabet fails
(e.g., ls [A-z]).
Version-Release number of selected component (if applicable):
RH7.2 libraries 2.4.n
How Reproducible:
mkdir x
cd x
touch A B Z a b z
ls [A-z]
yields: A b B z
but
ls [a-Z]
yields: ls: No match.
Steps to Reproduce:
1. mkdir x
2. cd x
3. touch A B Z a b z
4. ls [A-a]
Actual Results:
4. ls [A-z]
yields: A b B z
but
5. ls [a-Z]
yields: ls: No match.
Expected Results:
I would expect to see all six files listed in the union of the two outputs.
Additional Information:
A clue can be inferred from the ordering 'b B' in the first example; my
surmise is that two different sort sequences are used, in some places
treating case as major and letter as minor, and in others treating
letter as major and case as minor. No matter what the cause, this is a
change from RH6 and earlier (or should I say from 2.2.n and earlier),
and causes previously tested commands and scripts to fail.
LC_COLLATE and LC_CTYPE were quite standard (US English, I believe);
shell was /bin/tcsh