Saturday, April 26, 2008

Read a file line-by-line in Bash


while read line;
do
echo $line;
done < input.txt