bug-parallel
[Top][All Lists]
Advanced

[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: Ole Tange
Subject: Re: GNU Parallel Bug Reports Bug report: combining --dry-run and -u
Date: Mon, 5 Jun 2017 16:41:58 +0200

On Mon, Jun 5, 2017 at 10:00 AM, Andreas Bernauer
<address@hidden> wrote:

> 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.

Thanks for your error report.

>> ........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:

$ seq 5 | parallel-20170522  -u --dry-run echo
echo 1
echo 2
echo 3
echo 4
echo 5

This is one of the reasons why the REPORTING BUGS section of the man page says:

[...] If you are not running the latest released version (see
http://ftp.gnu.org/gnu/parallel/) you should specify why you believe
the problem is not fixed in that version.

Remember that installing the newest version can be done in less than
10 seconds. From README:

= 10 seconds installation =

For security reasons it is recommended you use your package manager to
install. But if you cannot do that then you can use this 10 seconds
installation.

The 10 seconds installation will try do to a full installation; if
that fails, a personal installation; if that fails, a minimal
installation.

   (wget -O - pi.dk/3 || curl pi.dk/3/ || fetch -o - http://pi.dk/3) | bash

This will literally install faster than reading the rest of this document.


/Ole



reply via email to

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