Bash, read line by line from file, with IFS

前端 未结 4 1816
独厮守ぢ
独厮守ぢ 2020-12-09 05:50

I\'m having this code from http://bash.cyberciti.biz/guide/While_loop, used to read line by line from a file

file=/etc/resolv.conf
while IFS= read -r line
         


        
4条回答
提交回复
热议问题