Bash 脚本 逐行处理文本文件的内容
while read -r line; do echo "$line" done < /path/to/file.txt
https://unix.stackexchange.com/questions/58040/what-is-the-fastest-way-to-process-line-by-line-in-bash
answered Dec 9 '12 at 22:19
while read -r line; do echo "$line" done < /path/to/file.txt