On Mon, Jun 10, 2013 at 12:02 AM, Linda Walsh <b...@tlinx.org> wrote: > I was wondering if I was missing some syntax somewhere... > but I wanted to be able to pass the name of a hash in > and store stuff in it and later retrieve it... but it > looks like it's only possible with an eval or such? > > Would be nice....(??)*sigh* >
bash4 has associative arrays: declare -A array array[foobar]=baz echo "${array[foobar]}"