Re: parallel error while parsing options

2016-05-11 Thread Gabriel Ganne
Hi, With Devel-Trace, I found the issue. It seems the pidtable expects to match a line with two pids (numbers) folloed by a mandatory string, but for some reason I only have the pids. So I made that last part optional, and it seems to do the trick. Thank you for your help. --- /usr/local/bin/pa

RE: writing a combined list of all unique pairs

2016-05-11 Thread Patrick Buchholz
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 -- Patrick -Original Message- From: Tórur Andreassen [mailto:[email protected]] On Behalf Of Thor Andreassen Sent: Dienstag, 3. Mai 2016 15:10 To: [email protected] Cc: Patrick Buchholz

Re: writing a combined list of all unique pairs

2016-05-11 Thread Hans Schou
I don't think it can be done within parallel, you have add some script around it. Here is a bash version: echo {A..F} | tr ' ' '\n' > list1 echo {1..4} | tr ' ' '\n' > list2 parallel 'while read; do echo {} $REPLY ; done < list2' < list1 2016-05-11 18:00 GMT+02:00 Patrick Buchholz < patrick.buc