i-bash/tests/appendop1.sub
2014-02-26 09:36:43 -05:00

15 lines
207 B
Text

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