|
From: | isabella parakiss |
Subject: | quoted compound array assignment deprecated |
Date: | Mon, 17 Aug 2015 10:19:00 +0200 |
Quoting is necessary in a few cases: $ var=foo; declare -A "arr$var=([x]=y)" bash: warning: arrfoo=([x]=y): quoted compound array assignment deprecated $ var=foo; declare -A arr$var=([x]=y) bash: syntax error near unexpected token `(' $ var=foo; declare -A "arr$var"=([x]=y) bash: syntax error near unexpected token `(' I don't think this should be the default behaiour... --- xoxo iza
[Prev in Thread] | Current Thread | [Next in Thread] |