[ale] how to do named hash in bash

Keith Hopkins ale at hopnet.net
Mon Mar 31 12:13:10 EDT 2008


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



More information about the Ale mailing list