也可用這個方式在shell script 裡做到等同於「字串陣列」 files=$(cat <<EOF 1st line 2nd line 3rd line EOF ) IFS=$'\n' for f in $files do echo ...
確定! 回上一頁