Thread: `cat problem`
View Single Post
  #1   (View Single Post)  
Old 11th September 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default `cat problem`

Hi all,

I want to write a script processing each line in a file.

for i in `cat blah.txt`
do
echo $i
done

there is some way to keep it from treating the file as a single line, but I can't remember. I think it was about some double quotes, but where?
Reply With Quote