I've written my script so that it reads in the variables $1 $2 $3 $3....$12
I have an input file as follows
word1 1 1 2 3 4 5
word2 1 1 2 3 4 5 6
word3 1 1 2 3 4
I would like to take the values from the input file and run the script once for each line.
i.e.
./script word1 1 1 2 3 4 5
./script word2 1 1 2 3 4 5 6
./script word3 1 1 2 3 4
please note that the numbers are not nessicarily in ascending order like this and their order is important.
sorry for the newb question. but I've looked around a bit and the solutions I found did not work for me.
Bookmarks