程式語言 - GNU - BASH Array



參考資訊:
https://www.freecodecamp.org/news/bash-array-how-to-declare-an-array-of-strings-in-a-bash-script/

main.sh

#!/bin/bash
V=("123" "456")

for x in "${V[@]}" ; do
    echo "$x"
done

執行

$ bash run.sh 
    123
    456