Help to process line by line and assign value to variables

view story

http://www.unix.com – Hi, there I have a file with tab and space as field separator. I need to assign values to variables then work with them, line by line. The code I wrote only works when each line has only one word. It doesn't work for the current situation. Code: for line in `cat file.txt`; do     ID=`awk '{print $NF}' $line`     START=`awk -F"\t" '{print $4}' $line`     END=`awk -F"\t" '{print $5}' $line`     ...more works with these three variables... done I also try something like this, still not working: Code: cat file.txt | while read l (HowTos)