Monday, September 22, 2008

Going through a file "line by line" with a shell script

cat $FILENAME | while read i
do
#do something here with each line e.g.
echo $i
done

No comments:

Post a Comment