We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
local key local -A assArray=(['a']=0 ['b']=1) for key in "${!assArray[@]}"; do printf 'Key: %s, Value: %s\n' "${key}" "${assArray[${key}]}" done
"${!assArray[@]}" Fails to parse due to the index expansion operator, !.
"${!assArray[@]}"
!
This feature was added to bash in version 3.0.