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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -