bug-bash
[Top][All Lists]
Advanced

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

Re: globbing is always case insensitive


From: Ian Macdonald
Subject: Re: globbing is always case insensitive
Date: Wed, 8 May 2002 11:14:54 -0700
User-agent: Mutt/1.3.28i

On Wed 08 May 2002 at 13:47:51 +0200, you wrote:

> 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:]].

Oops, sorry, you're right.

Ian
-- 
Ian Macdonald               | The best man for the job is often a woman. 
ian@caliban.org             | 
                            | 
                            | 
                            | 



reply via email to

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