From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25582 invoked from network); 17 Apr 1998 21:05:00 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 17 Apr 1998 21:05:00 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id RAA01547; Fri, 17 Apr 1998 17:01:03 -0400 (EDT) Resent-Date: Fri, 17 Apr 1998 17:00:50 -0400 (EDT) Message-ID: <19980417230030.A10873@math.fu-berlin.de> Date: Fri, 17 Apr 1998 23:00:30 +0200 From: Sven Guckes To: zsh-users@math.gatech.edu Cc: Mark Borges Subject: Re: backing up with zsh Mail-Followup-To: zsh-users@math.gatech.edu, Mark Borges References: <19980417215617.A9887@math.fu-berlin.de> <19980417224224.O9638@math.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Mark Borges on Fri, Apr 17, 1998 at 02:50:52PM -0600 X-Mailer-Info: http://www.math.fu-berlin.de/~guckes/mutt/ Resent-Message-ID: <"lfgiT1.0.QN.1CyDr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1462 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Quoting Mark Borges (mdb@cdc.noaa.gov): > > $ echo **/*~*.[Gg][Ii][Ff]|[bB][mM][pP]|[jJ][pP][gG] > Close -- you forgot the parens: > $ echo **/*~*.([Gg][Ii][Ff]|[bB][mM][pP]|[jJ][pP][gG]) > I think you'll also have to put `jpeg' and it's case variant as well. You mean $ echo **/*~*.([Gg][Ii][Ff]|[bB][mM][pP]|[jJ][pP][gG]|[jJ][pP][eE][gG]) This is getting "out of hand". :-( > There may be an equivalent for `jpe?g', but I don't see it offhand. Anyone? > SG> I'd rather be using something like this: > SG> $ echo **/*~(*.[bmp|gif|jpeg|jpg]/i) > SG> .. where "/i" means "case insensitive". > Sure. perl -e ''. ;-). So - perl has better regexpr than the zsh here? Sven