I have a program GG that needs two integers as arguments for parameters x and y as input, in this way:
./GG -x 0 -y 100 I need to run GG over sequential start/end pairs of integers, like the pairs in each row here:
x y 0 100 100 200 200 300 ... ... 10000 10100 The closest I get would be something like this:
for i in {0..10000}; do for j in {100..10100}; do ./GG -x ${i} -y ${j}; done; done but this will loop each j value over each i value, and this is not what I need.
Any suggestion is very welcome !