When I use \"cat test.file\", it will show
1 2 3 4
When I use the Bash file,
cat test.file | while read data do e
Alternatively, use a good file parsing tool, like AWK:
awk '{ # Do your stuff print }' file