Skip to main content
2 of 6
Improved layout and description.
B Layer
  • 5.3k
  • 1
  • 21
  • 35

Omitting your other parallel flags:

parallel --link pf ::: A B ::: C D

This will run your function first with a=A, b=C followed by a=B, b=D or

a=A b=C
a=B b=D

Without --link you get full permutation like this:

a=A b=C
a=A b=D
a=B b=C
a=B b=D

I believe you want to avoid this.

B Layer
  • 5.3k
  • 1
  • 21
  • 35