How to process every line in a file with a Unix/Linux shell script
alvin
October 15, 2017 - 9:41pm
Unix/Linux shell script FAQ: How do I write a Unix or Linux shell script where I "do something" for every line in a text file?
Solution: An easy way to process every line in a text file is to use a Unix/Linux while loop in combination with the Linux cat command, like this: