parallel
[Top][All Lists]
Advanced

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

Re: Unexpected positional replacement strings substitution


From: Ole Tange
Subject: Re: Unexpected positional replacement strings substitution
Date: Thu, 23 Feb 2017 22:02:06 +0100

On Thu, Feb 23, 2017 at 6:17 AM, aero <chahkang@gmail.com> wrote:

> I am going to try like the following.
> Send divided list to workers. And workers runs own parallel against the list
> from master.
>
> cat SERVERLIST.txt | parallel --pipe -N[ int(lines count of SERVERLIST.txt/
> number of workers) ] -S worker1,worker2,... 'cat | parallel ...'
>
> Is there any other good way to achieve job like this ??

cmd='echo "joe  two  space"'
cat SERVERLIST.txt | parallel --pipe -N1 -S worker1,worker2
--roundrobin --cat parallel --slf {} --nonall -q "$cmd"

/Ole



reply via email to

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