[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] how to do named hash in bash



On 03/31/2008 11:20 PM, Jerry Yu wrote:
> I  need to do named has in bash scripting, the equivalent in perl, "my 
> $hash{$key} = $value;". Can I?

Bash can support one dimensional arrays, but does not natively support hashes.

--Keith