Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: globbing with interposition
- X-seq: zsh-users 8706
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: globbing with interposition
- Date: Tue, 19 Apr 2005 18:46:52 +0200
- Cc: Zsh Users <zsh-users@xxxxxxxxxx>
- In-reply-to: <1050419152554.ZM31922@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <20050419072115.GA15936@xxxxxxxxxxxx> <fb6be96e05041901223a87e20e@xxxxxxxxxxxxxx> <1050419152554.ZM31922@xxxxxxxxxxxxxxxxxxxxxxx>
Hi Bart :)
* Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> } a=(fotos*) mutt eric '-a '${^a} -s "all images attached" </dev/null
> That doesn't work because the order of assignment and expansion is not
> what you expect. That is, the ${^a} is expanded at parse time, but
> the assignment prefixes are handled at execute time.
Oops, I did the assignment on one command line and the 'mutt'
command line in another. Well, in fact I had the array already filled
and I just used it. So I didn't catch the problem :(
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author