Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting rid of temporaries...
- X-seq: zsh-workers 19067
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Getting rid of temporaries...
- Date: Thu, 11 Sep 2003 11:43:57 +0200
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1030911085614.ZM8201@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20030910203429.GA354@DervishD> <20030910223845.GA10805@xxxxxxxxxxxxxxxxxx> <1030911010623.ZM7489@xxxxxxxxxxxxxxxxxxxxxxx> <20030911014657.GA19512@xxxxxxxxxxxxxxxxxx> <1378.1063261796@xxxxxxxxxxx> <1030911085614.ZM8201@xxxxxxxxxxxxxxxxxxxxxxx>
Hi Bart :)
* Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> } > print -l *.??.jpg(e['REPLY=${REPLY%.??.jpg}'])
> } Isn't that just the same as:
> } print -l *.??.jpg(:r:r)
> Yes, it is, but it's harder to generalize the latter to an arbitrary
> name rewrite. What if there weren't a dot before the number part?
I almost forgot... Since some names may have *three* digits in
the number part in the future, is better for me to do :r:r instead of
pattern matching.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author