I have a list of three filenames:
Code:
this_is_a_filename
this
this is a filename
If i do:
Code:
for i in `cat /tmp/l`; do echo $i; done
I get:
Code:
this_is_a_filename
this
this
is
a
filename
Which is 6 elements and I want 3. How can I preserve the name of the file "this is a filename" ? It seems bash is interpreting this filename as a list.