[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports Parallel as for (no argument)
From: |
Ole Tange |
Subject: |
Re: GNU Parallel Bug Reports Parallel as for (no argument) |
Date: |
Sun, 30 Oct 2016 14:31:21 +0100 |
On Sat, Oct 29, 2016 at 12:43 PM, Hadrien Lacour
<address@hidden> wrote:
> Hello,
> I'm tryin to replace
>
> for i in $(seq 5); do seq 5 | parallel -j1 --eta 'sleep 1; echo'; done
>
> with a full parallel workflow but I can't figure how to do it. I tried
>
> seq 5 | parallel -j1 -N0 'seq 5 | parallel -j1 --eta "sleep 1; echo"'
>
> thinking that the N0 could do the trick, but the result isn't the same. Is
> there a way to do it?
parallel --eta 'sleep 1; echo {2}' :::: <(seq 5) <(seq 5)
/Ole