[Top][All Lists]

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

Re: globbing is always case insensitive

From: Andreas Schwab
Subject: Re: globbing is always case insensitive
Date: Wed, 08 May 2002 13:47:51 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux)

address@hidden (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 Schwab, SuSE Labs, address@hidden
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."

reply via email to

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