#!/bin/bash input="/path/to/txt/file" while IFS= read -r line do echo "$line" done < "$input"
References
https://www.cyberciti.biz/faq/unix-howto-read-line-by-line-from-file/
#!/bin/bash input="/path/to/txt/file" while IFS= read -r line do echo "$line" done < "$input"
References
https://www.cyberciti.biz/faq/unix-howto-read-line-by-line-from-file/