How to loop over the lines of a file? - Unix & Linux - Stack Exchange
7 Feb 2011 ... Say I have this file: hello world hello world. This program #!/bin/bash for i in $(cat
$1); do echo "tester: $i" done. outputs tester: hello tester: world ...
www.google.com.tw |