zsh-users
 help / color / mirror / code / Atom feed
From: Sven Guckes <guckes@math.fu-berlin.de>
To: zsh-users@math.gatech.edu
Cc: Mark Borges <mdb@cdc.noaa.gov>
Subject: Re: backing up with zsh
Date: Fri, 17 Apr 1998 23:00:30 +0200	[thread overview]
Message-ID: <19980417230030.A10873@math.fu-berlin.de> (raw)
In-Reply-To: <vkyax4cgur.fsf@cdc.noaa.gov>; from Mark Borges on Fri, Apr 17, 1998 at 02:50:52PM -0600

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


  parent reply	other threads:[~1998-04-17 21:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-17 19:56 Sven Guckes
1998-04-17 20:20 ` Rob Windsor
1998-04-18  9:36   ` TGAPE!
1998-04-18 18:08     ` Bart Schaefer
     [not found] ` <vkzphkchu4.fsf@cdc.noaa.gov>
1998-04-17 20:42   ` Sven Guckes
     [not found]     ` <vkyax4cgur.fsf@cdc.noaa.gov>
1998-04-17 21:00       ` Sven Guckes [this message]
1998-04-18  0:44         ` Perl and ZSH (WAS: Re: backing up with zsh) tep
1998-04-17 21:24           ` Bart Schaefer
1998-04-18 10:53           ` Perl and ZSH Jonas Bofjall
1998-04-18  9:53             ` TGAPE!
1998-04-18 18:21               ` Bart Schaefer
1998-05-04 23:47                 ` Zsh and CVS Scott RoLanD
1998-04-18 10:13     ` backing up with zsh Mirar
1998-04-20  8:47     ` Andrew Main

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19980417230030.A10873@math.fu-berlin.de \
    --to=guckes@math.fu-berlin.de \
    --cc=mdb@cdc.noaa.gov \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).