jmayer@jmayer.homelinux.net (Jonathan Mayer) writes:
|> > What does 'ls ?????[:upper:]*' give?
|>
|> Strangely,
|>
|> ls [:upper:]*
|>
|> only gives me files that start with the letters :,u,p,e,r. Well --
|> THAT's weird behavior.
No, it's correct. If you want a pattern that matches only upper case
letters, use [[:upper:]].
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."