I have a file params.txt which looks like
a b c
d e f
g h i
j k l
etc. , with 3 words per line.
I want to run the programme prog multiple times in a unix loop so that it runs
prog -option1 a -option2 b -option3 c
prog -option1 d -option2 e -option3 f
Please tell me an easy way of writing this loop (if there is one).