小编Rai*_*ahs的帖子

为什么 GNU 并行不能与“bash -c”一起使用?

% echo -e '1\n2' | parallel "bash -c 'echo :\$1' '' {}"
:1
:2
% echo -e '1\n2' | parallel bash -c 'echo :\$1' '' {}


%
Run Code Online (Sandbox Code Playgroud)

我希望第二行的行为相同。

shell bash quoting gnu-parallel

11
推荐指数
1
解决办法
1320
查看次数

标签 统计

bash ×1

gnu-parallel ×1

quoting ×1

shell ×1