bug-bash
[Top][All Lists]
Advanced

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

bash 2.05b.0(1)-release on Debian Sarge: [A-Z]* expands as [A-Za-z]* :-(


From: Alan Mackenzie
Subject: bash 2.05b.0(1)-release on Debian Sarge: [A-Z]* expands as [A-Za-z]* :-(
Date: Mon, 28 Jan 2008 20:58:58 +0000
User-agent: Mutt/1.5.9i

Hi, bash!

Sometimes, (like in a source directory), I want to ls files whose name
begins with a capital letter, and so do this:

% ls [A-Z]*

.  Sadly, ls ignores my intentions and undiscerningly prints a list of
all files whose names begin with a letter, big or small.

Yes, I've read the fine manual and tried:

% shopt -u nocaseglob

, but to no avail.  Am I missing something obvious, or have I hit a bug?
Thanks in advance for any help!

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

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