經安全檢測,此網站為安全網站,請放心前往原始網址!

The read builtin command [Bash Hackers Wiki]

while read -r; do line=$REPLY ... done < text.txt. To preserve leading and trailing whitespace in the result, set IFS to the null string: while IFS= read -r; ...

wiki.bash-hackers.org

網址安全性掃描由 google 提供