My question is: I have a program written in C and to launch it I'm used to do
./program.exe var_1 ... var_n
where var_i-th are both numeric values and strings (used as filenames). I have to make the program run many times with different values of var_i-th and each time I have to call the above command.
Is there a way to prepare a file .txt (or something similar) of the kind
- ./program.exe var_1 ... var_n #configuration one
- .
- .
- ./program.exe var_1 ... var_n #configuration N
and to make the program run using this so that in a single call I get all the configurations run one by one?
Thanks