On Wed, May 11, 2016 at 6:00 PM, Patrick Buchholz <[email protected]> wrote: > Hi, > > an example input would be a list: > A > B > C > > And a list of unique combinations as output > A B > A C > B C
You would have to repeat the list so there are 2 input sources:
parallel 'echo {= ($seen{$arg[1],$arg[2]}++ >2 or
$seen{$arg[2],$arg[1]}++ >2) and $job->skip() =}' ::: A B C ::: A B C
/Ole
