Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bad expansion
- X-seq: zsh-workers 16471
- From: Zefram <zefram@xxxxxxxx>
- To: DervishD <raul@xxxxxxxxxxxx>
- Subject: Re: Bad expansion
- Date: Mon, 21 Jan 2002 14:51:54 +0000
- Cc: Zsh <zsh-workers@xxxxxxxxxx>
- In-reply-to: <E16SfsH-00017M-00@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E16SfsH-00017M-00@xxxxxxxxxxxxxxxxxxxxx>
DervishD wrote:
> # Bad substitution
> echo ${${testing[1]}_VALUE}
echo ${(e):-\$${testing[1]}_VALUE}
The :-\ is a smiley that means "maybe there ought to be a neater way".
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author