For example, if I have the following command:
python generate.py --outdir=out --trunc=1 --seeds=128,8755,90,543468
I want to use bash to generate random numbers and place them in the seeds
argument, and have the seeds be between specific interval (e.g., 1-8000). Like this:
rand_seed_gen= im_a_func_that_generates_4_random_seeds # pseudo code
python generate.py --outdir=out --trunc=1 --seeds=rand_seed_gen
EDIT:
Also, is there a way to multiply the number of random integers without explicitly passing each one individually? For example (again, pseudo code): ${RANDOM} * 10
to return a comma separated list of 10 random integers.