Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11359
| From | isabella parakiss <izaberina@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | quoted compound array assignment deprecated |
| Date | 2015-08-17 10:19 +0200 |
| Message-ID | <mailman.8466.1439799545.904.bug-bash@gnu.org> (permalink) |
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
Back to gnu.bash.bug | Previous | Next | Find similar
quoted compound array assignment deprecated isabella parakiss <izaberina@gmail.com> - 2015-08-17 10:19 +0200
csiph-web