Multi-dimensional arrays in Bash
Bash does not support multidimensional arrays, nor hashes, and it seems that you want a hash that values are arrays. This solution is not very beautiful, a solution with an xml file should be better : EDIT: this answer is quite old, since since bash 4 supports hash tables, see also this answer for a solution without … Read more