不工作
问题描述:
我试图运行下面的非常简单的并行脚本GNU平行双破折号选项:不工作
parallel --eta -j 1 -- "echo hi"
,但我得到一个错误
parallel: invalid option -- '-'
parallel [OPTIONS] command -- arguments
for each argument, run command with argument, in parallel
parallel [OPTIONS] -- commands
run specified commands in parallel
出现这种情况,每双点选项我尝试使用
答
您正在使用Tollef的Moreutils并行版本,而不是GNU Parallel版本。