Dear all,
My colleague wrote a Python2-script (there is no needed updated library in Python3 ).
To run it, I type
python script.py var1 var 2 ad1 ad2 ad3 ad4 var3 ad 5 ad6 ad7 ad8 ad9 –o var1_ouput.txt
var1, var2, var3 – are changed every run
ad1 ad2 ad3 ad4 ad 5 ad6 ad7 ad8 ad9 – are the same every run, but they are necessary, I cannot get rid of them
These constants (ad1 – ad9) interfere with the formalization of the problem in bash.
Please, give me a hint – how to deal with this problem? I wouldn’t like to run the script 300 times
manually… I need to have 300 output-files rather soon.
Thank you very much!
Natasha
why would the constant arguments interfere with running a bash script?
It's a mixture of constant arguments and changing arguments.
ad3 ad4 var3 ad5 ad6
Fortunately var3 can be considered constant as well.
But in general case the solution looks more complicated.
Thank you very much, I didn't know so many different ways exist.