How to make BASH foreach line read?
bash file line read while do done for cycle foreach
for axample list.txt file contain lines:
1 - bash
2 - foreach
3 - lines
4 - output
using our BASH-script:
#!/bin/bash
FILE="list.txt"
exec < $FILE
while read LINE
do
echo $LINE
done
# script will output line by line contents of list.txt
2008-10-17, Uzaren
Even famous blackjack gurus were suspected in
blackjack cheating sometimes though didn't do that. . Visiting
Moscow? Travel with comdort, houses on kvart-hotel.com . Try popular
moneybookers casino banking method when gambling online and feel the difference!