On Fri, Apr 29, 2016 at 7:56 PM, Patrick Buchholz
<[email protected]> wrote:
> Dear Mr Tange,

Use the mailinglist [email protected] next time.

> Is it possible to use GNU/Parallel for writing a combined list of all unique
> pairs from two input source files?

Not really sure what you mean by that. If I get it wrong, I trust you
will reply with some examples that show what you mean.

20160422 introduces :::+ and ::::+. They do an --xapply between the
input sources that are separated by :::+ and ::::+

Note how these differs:

  parallel echo {1} {2} {3} ::: {a..j} :::+ {A..J} ::: 1 2 3
  parallel echo {1} {2} {3} ::: {a..j} ::: {A..J} ::: 1 2 3

- o -

Or maybe you are asking about this:

  parallel '{= $::seen{"@arg"}++ >3 and $job->skip();$_="true" =};'
echo {1} {2} {3} ::: {a..j} b :::+ {A..J} B ::: 1 2 3

The set 'b B 1' .. 'b B 3'  is seen twice and ignored the second time.


/Ole

Reply via email to