This question already has an answer here:
I got a file with some params of a script:
foo1 a b c foo2 a b c foo3 a b c
I need to run a script once for each line in this file passing the line as script arg, so it should do:
./MyScript.sh foo1 a b c ./MyScript.sh foo2 a b c ./MyScript.sh foo3 a b c
How can I achieve this using Bash?