summaryrefslogtreecommitdiff
path: root/tests/array3.sub
blob: 579b42bdbfce6e808f1f051a9e8cdd36a1006359 (plain)
1
2
3
4
5
6
7
8
9
a=(0 1 2 3 4 5 6 7 8 9)

echo ${a[@]: -1}

echo ${a[@]:9}
echo ${a[@]:10}
echo ${a[@]:11}

echo ${a[@]:7:3}