Good morning,
I have here:
declare A- accocArray1=(["a01"]=1 ["a02"]=2 ["a03"]=3)
declare A- accocArray2=(["b01"]=1 ["b02"]=2 ["b03"]=3)
echo ${accocArray2["${accocArray1["a01"]}"]} ${accocArray2["${accocArray1["a02"]}"]} ${accocArray2["${accocArray1["a03"]}"]}
output:
1 2 3
I am having issues getting the syntax right in the "echo" statement. Any solution would be greatly appreciated.
-A, notA-;