Tag: file
-
Read a text file with bash line by line
Read a text file in bash line by line with while. It will read till the end of line. You can modify the end of line setting a new value to EOF variable. while read line; do echo “${line}”; done
Read a text file in bash line by line with while. It will read till the end of line. You can modify the end of line setting a new value to EOF variable. while read line; do echo “${line}”; done