[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports Bug report: combining --dry-run and -u
From: |
Andreas Bernauer |
Subject: |
Re: GNU Parallel Bug Reports Bug report: combining --dry-run and -u |
Date: |
Mon, 5 Jun 2017 10:00:52 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 02.06.17 20:39, paralleluser wrote:
> GNU parallel 20170322
>
> # Problem, it shows a double dry run
> # Take the -u away and it is fine
>
> In both cases above, if you take off --dry-run, it runs echo 1 through 5 for
> real just once as it should regardless of -u or no -u.
>
> ........Also in GNU parallel 20130922, the bug doesn't seem to happen at all.
>
> I admit there is one newer version of parallel I didn't test it on.
Can confirm with parallel 20170422:
$ parallel --version
GNU parallel 20170422
[...]
$ seq 5|parallel -u --dry-run echo
echo 1
echo 2
echo 3
echo 4
echo 1
echo 5
echo 3
echo 2
echo 4
echo 5
$ seq 5|parallel -u echo
1
2
3
4
5
-Andreas