bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports Bug report: combining --dry-run and -u


From: paralleluser
Subject: GNU Parallel Bug Reports Bug report: combining --dry-run and -u
Date: Fri, 02 Jun 2017 14:39:56 -0400

GNU parallel 20170322

# Problem, it shows a double dry run
$ seq 5|parallel  -u --dry-run echo
echo 1
echo 2
echo 3
echo 4
echo 5
echo 1
echo 2
echo 3
echo 4
echo 5

# Take the -u away and it is fine
$ seq 5|parallel  --dry-run echo
echo 1
echo 2
echo 3
echo 4
echo 5

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.

Much thanks!



reply via email to

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