From: tep@colltech.com
To: guckes@math.fu-berlin.de (Sven Guckes)
Cc: zsh-users@math.gatech.edu, mdb@cdc.noaa.gov
Subject: Perl and ZSH (WAS: Re: backing up with zsh)
Date: Fri, 17 Apr 1998 19:44:05 -0500 (CDT) [thread overview]
Message-ID: <199804180044.TAA19945@psasolar.psa.pencom.com> (raw)
In-Reply-To: <19980417230030.A10873@math.fu-berlin.de> from Sven Guckes at "Apr 17, 98 11:00:30 pm"
Thus Spake Sven Guckes:
> 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
>
I've actually been tinkering with the idea of embedding a Perl
interpreter inside ZSH but I got stumped when it came time to
think about sharing data (i.e. variables and such).
Anyone care to assist in this endeavor?? :-)
Tim.
--
____________________________________________ _ _
Timothy E. Peoples |_| C o l l e c t i v e |_|
Senior Consultant |_ technologies _|
tep@colltech.com [] []
a pencom company
next prev parent reply other threads:[~1998-04-18 0:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-17 19:56 backing up with zsh 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
1998-04-18 0:44 ` tep [this message]
1998-04-17 21:24 ` Perl and ZSH (WAS: Re: backing up with zsh) 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=199804180044.TAA19945@psasolar.psa.pencom.com \
--to=tep@colltech.com \
--cc=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).