jima@red3.simplex.com (Jim Avera) writes:
|> Description:
|> The POSIX.2 character class [:upper:] does not work in the
|> ${param#[...]} syntax. The [:upper:] pattern does not match
|> an an initial upper-case letter.
You've got the syntax wrong. [:upper:] is a pattern that matches any of
the characters ":epru", whereas [[:upper:]] is a pattern that matches all
upper case letters.
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."