Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

value of a key pointed by (P) ?



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