Associative array/Iteration: Difference between revisions

Content added Content deleted
m (→‎{{header|UNIX Shell}}: not just two)
Line 4,327: Line 4,327:


{{works with|ksh93}}
{{works with|ksh93}}
{{works with|bash|4.0 and above}}
<syntaxhighlight lang="bash">typeset -A a=([key1]=value1 [key2]=value2)
<syntaxhighlight lang="bash">typeset -A a=([key1]=value1 [key2]=value2)