summaryrefslogtreecommitdiffstats
path: root/tests/errors5.sub
blob: 112b2a1132fe00e248317d9d769b93ecfa6e195a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
array[1]=one
array[2]=two

set -u

( echo ${#array} )
( echo ${array} )
( echo ${array[7]} )

set -- 1 2 3
( echo ${#7} )
( echo ${7} )