[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] how to do named hash in bash
- Subject: [ale] how to do named hash in bash
- From: ale at hopnet.net (Keith Hopkins)
- Date: Tue, 01 Apr 2008 00:13:10 +0800
- In-reply-to: <[email protected]>
- References: <[email protected]>
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