Hi UNIX BONDS,
My requirement is that i want to use READ as
while read a x y z
do
some logic
done < dummy_file.txt
But the requirement is that the number of columns in the file dummy_file.txt is not fixed.
So "while read a x y z" may work fine if there are four columns, but how do i decalre variables when the columns may keep on varying.
Basically i dont want to hard code the number of columns as done above...
Thanx in advance......
Regards,
rahul26 