4 lines
118 B
Bash
4 lines
118 B
Bash
set -A collection "first" "second" "third" "fourth" "something else"
|
|
for x in "${collection[@]}"; do
|
|
echo "$x"
|
|
done
|