I have a file with the following contents
[root@rf4003 scripts]# more hello.txt
man
hello man
whereru
The shell script i have tries to echo the contents of the file hello.txt
for i in `cat hello.txt`
do
echo $i
done
but the output i am getting is taking the space as a new line..
[root@rf4003 scripts]# ./hello.sh
man
hello
man
whereru
Can anybody help me to echo the contents of the file
as it should be?