Bash: Read file line-by-line
examples/shell/read_file.sh
filename="$1" while read -r line do echo $line echo '----' done < "$filename"
Published on 2020-01-24
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post