As bash does not support multi-dimensional arrays, how can I fake it so I could access it like this:
#declare
array["foo"] = "bar"
#print
echo array["foo"] //how to display declared 'bar' here?
So the question is: what I need to do, to print out the bar when accessing array["foo"]?
 
    