Bash reading a file line by line
Here are the directions borrowed from the BashFAQ.
cat /tmp/foo.txt | while read line; do echo $line; done;
BashFAQ. ``` cat /tmp/foo.txt | while read line; do echo $line; done; ```...">
Here are the directions borrowed from the BashFAQ.
cat /tmp/foo.txt | while read line; do echo $line; done;