# declaring an array declare -a ary # declaring + defining single_level = ( this that the other ) # @@INCOMPLETE@@ |
# pushing at the end of an array ary[${#ary[@]}]=whatever # @@INCOMPLETE@@ |
for element in "${list[@]}"; do echo $element done # @@INCOMPLETE@@ |