Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
value of a key pointed by (P) ?
- X-seq: zsh-users 10718
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: value of a key pointed by (P) ?
- Date: Fri, 15 Sep 2006 19:47:35 +0200
- Mail-followup-to: zsh-users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi all,
typeset -A a
a=(
this is
something special
for you
)
b=a
k=this
print ${${(P)b}[$k]}
i expect 'is', i get 'you'. Why ? how to fix ?
thanks a lot for help.
regards.
mc
--
téléphone : 03.90.24.00.19
courriel : marc.chantreux@xxxxxxxxxxxxxxxxxx
---------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author