Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting rid of temporaries...
- X-seq: zsh-workers 19066
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Danek Duvall <duvall@xxxxxxxxxxx>, Zsh <zsh-workers@xxxxxxxxxx>
- Subject: Re: Getting rid of temporaries...
- Date: Thu, 11 Sep 2003 11:30:27 +0200
- In-reply-to: <20030910223845.GA10805@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxx>, Zsh <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20030910203429.GA354@DervishD> <20030910223845.GA10805@xxxxxxxxxxxxxxxxxx>
Hi Danek :)
* Danek Duvall <duvall@xxxxxxxxxxx> dixit:
> The "typeset -U" makes $array discard duplicate elements
That's what I was looking for :))) I didn't find it in the
manual. I think I need more sleep. Or more caffeine. Or both O:)
> The "^" turns on rcexpandparam for the expansion of $array, which means
> that, as an array, each element is modified.
I have rcexpandparam enabled by default, but anyway I see no use
of it here, since (AFAIK), that option is for cases like FOO${array}BAR
expanding to FOOelement1BAR FOOelement2BAR instead of the more common
FOOelement1 element2BAR.
> And I turned your "??" into "<00-99>", which explicitly only
> matches two-digit numbers (you could also use "<->" to match all
> numbers).
Well, I didn't care so much about the globbing because I'm pretty
sure about the filenames, but yours is better.
Thanks a lot!
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