% echo -e '1\n2' | parallel "bash -c 'echo :\$1' '' {}" :1 :2 % echo -e '1\n2' | parallel bash -c 'echo :\$1' '' {} %
我希望第二行的行为相同。
shell bash quoting gnu-parallel
bash ×1
gnu-parallel ×1
quoting ×1
shell ×1