bug-parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Parallel Bug Reports Sorry, email corrected: Can't make run "env_par


From: Xavier Martínez Serrano
Subject: GNU Parallel Bug Reports Sorry, email corrected: Can't make run "env_parallel" nor "--env" option
Date: Tue, 13 Sep 2016 11:54:26 +0200


Hi there!

Thank you for this fantastic tool which have helped me lots of times, now I'm trying to make parallel run within a shellscript that contains many functions. For that I would export my shellscript envrionment.

I run parallel version: 20140722, therefore I downloaded "env_parallel.zsh" from:
http://fossies.org/linux/misc/parallel-20160822.tar.gz/parallel-20160822/src/env_parallel.zsh

And run:
sudo mv env_parallel.zsh /usr/local/bin
sudo chmod +x /usr/local/bin/env_parallel.zsh

But can't make the examples run:


address@hidden set|wc -c ; set|wc -c|hr
31391
30.65 KiB

address@hidden typeset -f|wc -c ; typeset -f|wc -c|hr
113887
111.22 KiB

Trying example of "env_parallel.pdf" (pg:6):

address@hidden myfunc() { echo functions $*; }       
address@hidden myfunc work
functions work
address@hidden env_parallel myfunc ::: work          
env_parallel:83: argument list too long: /usr/bin/parallel
address@hidden
                                 
address@hidden env_parallel --env myfunc myfunc ::: work    
zsh:1: command not found: myfunc


Thank you very much in advance,

Xavi


---------- Forwarded message ----------
From: Xavier Martínez Serrano <address@hidden>
Date: 2016-09-13 11:51 GMT+02:00
Subject: Can't make run "env_parallel" nor "--env" option
To: address@hidden


Hi there!

Thank you for this fantastic tool which have helped me lots of times, now I'm trying to make parallel run within a shellscript that contains many functions. For that I would export my shellscript envrionment.

I run parallel version: 20140722, therefore I downloaded "env_parallel.zsh" from.

sudo mv env_parallel.zsh /usr/local/bin
    sudo chmod +x /usr/local/bin/env_parallel.zsh


reply via email to

[Prev in Thread] Current Thread [Next in Thread]