I want to run a program prog in parallel using GNU's parallel, with an argument that takes a value in a sequence. For example:
parallel prog ::: {1..100}
However, I don't know the upper bound of the sequence in advance, so I would like to be able to do something like:
parallel prog ::: {1..$x}
where $x is a number that I'll compute somewhere. How can I achieve this?
eval. - jordanmevalcan be used, but is not necessary or recommended. - chepner