6 lines
88 B
Bash
6 lines
88 B
Bash
|
|
x=0
|
||
|
|
while [[ $x < ${#alist[*]} ]]; do
|
||
|
|
echo "Item $x = ${alist[$x]}"
|
||
|
|
: $((x++))
|
||
|
|
done
|