gnu 并行缺少 bash 的参数?

gnu parallel missing argument to bash?

当我尝试使用 gnu parallel 的信号量时,任何命令都会导致:

/bin/bash: -c: option requires an argument

例如:

parallel --semaphore --verbose sleep 1000
/bin/bash -c 
/bin/bash: -c: option requires an argument

为什么没有任何东西传递给 bash?

在 Ubuntu 12.04.5 LTS(GNU/Linux 3.2.0-84-generic x86_64),GNU bash,版本 4.2.25(1) -release (x86_64-pc-linux-gnu), GNU parallel 20121122.

当我要将我正在使用的版本添加到我的问题时,我在版本声明中遇到了这个。如果 parallel 是 运行(没有 --quiet 标志或其他东西)时打印,可能会很好!

koman@erasmus> parallel --version
WARNING: YOU ARE USING --tollef. IF THINGS ARE ACTING WEIRD USE --gnu.
GNU parallel 20121122
Copyright (C) 2007,2008,2009,2010,2011,2012 Ole Tange and Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
GNU parallel comes with no warranty.

Web site: http://www.gnu.org/software/parallel

When using GNU Parallel for a publication please cite:

O. Tange (2011): GNU Parallel - The Command-Line Power Tool, 
;login: The USENIX Magazine, February 2011:42-47.