bug-parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Parallel Bug Reports Bash for loop parallelising


From: Andreas Bernauer
Subject: Re: GNU Parallel Bug Reports Bash for loop parallelising
Date: Thu, 20 Oct 2016 19:55:33 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


On 20/10/2016 11:08, Samdani A wrote:
> Am trying to convert a simple bash script file which is given below. I
> was able to do it using parallel but not able to use multiple functions
> in the same line. Is there any other possible way to do the full job
> inside the for loop using parallel?

Something like:

$ seq 3 | parallel 'echo {}; echo again {}; echo yet again {} '
2
again 2
yet again 2
1
again 1
yet again 1
3
again 3
yet again 3

?
-Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]