Enabled to use associative arrays
like this:
π£ declare -A X
π£ X[abc]=123
π£ X[def]=456
π£ echo ${X[def]}
456
π£ echo ${X[@]}
123 456
π£ Y=abc
π£ echo ${X[$Y]}
123
Enjoy!
like this:
π£ declare -A X
π£ X[abc]=123
π£ X[def]=456
π£ echo ${X[def]}
456
π£ echo ${X[@]}
123 456
π£ Y=abc
π£ echo ${X[$Y]}
123
Enjoy!