for command

From: John Dunn (john.dunn@SEFAS.CO.UK)
Date: Thu Nov 06 2003 - 09:10:48 EST


Given the following data how do I get the following script to echo each
line, rather than each string?

for line in `cat testfile`
do
 echo $line
done

testfile =

hhhh jjjjjjj kkkkkkkkk
ggggg lllllll mmmmmm
sssss kkkkk llllll



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:20 EDT