GNU Parallel quotes replacement strings by default so that they are not expanded by the shell. But in certain cases you really want the replacement string to be interpreted by the shell.
E.g.
$ cat variables.txt
--var1 0.1 --var2 0.2
--var1 0.11 --var3 0.03
Here I want GNU Parallel to run:
myprogram --var1 0.1 --var2 0.2
myprogram --var1 0.11 --var3 0.03
How is that done?
How is it done, if only some of the replacement strings should be interpreted:
E.g.
$ ls
My file1.txt
My file2.txt
And I want this run:
myprogram --var1 0.1 --var2 0.2 'My file1.txt'
myprogram --var1 0.11 --var3 0.03 'My file1.txt'
myprogram --var1 0.1 --var2 0.2 'My file2.txt'
myprogram --var1 0.11 --var3 0.03 'My file2.txt'
