blob: 7101d0cc4638a7e052815f5b2f5ac803003910e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
typeset -A foo=([one]=bar [two]=baz [three]=quux)
typeset -p foo
foo+=zero
typeset -p foo
foo+=([four]=four)
typeset -p foo
typeset -ia iarr=(2 2 3)
iarr+=1
typeset -p iarr
iarr+=(4 5 6)
typeset -p iarr
|