GNU parallel not working at all -
i have been trying use gnu parallel time, have never been able function @ all!
for example, running (in non-empty directory!):
ls | parallel echo # outputs single new line ls | parallel echo echo echo # outputs 3 new lines. ls | parallel echo {} # /bin/bash: {}: command not found ls | parallel echo '{}' # /bin/bash: {}: command not found ls | parallel 'echo {}' # outputs: {} ls | parallel -imm 'echo mm' # outputs: mm
it seems executing each argument command, makes no sense.
i have tried bash, zsh, tcsh, csh, , sh, no avail.
as complete writing question, ran parallel --version
report version, find:
warning: using --tollef. if things acting weird use --gnu.
it not clear me why flag set default. needless say, using --gnu
worked!
thought post save hours of frustration , confusion.
edit: fix permanently (in ubuntu @ least), delete --tollef
flag in /etc/parallel/config
Comments
Post a Comment