Shells without associative arrays
It's not that hard when keys are restricted to [0-9A-Za-z_] (numbers, letters, underscore).
The trick is instead of storing to array[$key], store to variables array_$key.
Set:
eval "array_$key='$value'" Get:
value=`eval echo '$'array_$key` Note: Values cannot contain ' (single quote).