diff --git a/src/parallel.pdf b/src/parallel.pdf index 483f7259..8018e4d8 100644 Binary files a/src/parallel.pdf and b/src/parallel.pdf differ diff --git a/src/parallel.pod b/src/parallel.pod index ae95da1a..0847657a 100644 --- a/src/parallel.pod +++ b/src/parallel.pod @@ -1853,6 +1853,11 @@ function. export -f doubleit parallel doubleit ::: 1 2 3 ::: a b +To do this on remote servers you need to transfer the function using +B<--env>: + + parallel --env doit -S server doit ::: 1 2 3 + parallel --env doubleit -S server doubleit ::: 1 2 3 ::: a b =head1 EXAMPLE: Removing file extension when processing files diff --git a/src/parallel.texi b/src/parallel.texi index 7313a294..d927a6a9 100644 --- a/src/parallel.texi +++ b/src/parallel.texi @@ -1976,6 +1976,14 @@ function. parallel doubleit ::: 1 2 3 ::: a b @end verbatim +To do this on remote servers you need to transfer the function using +@strong{--env}: + +@verbatim + parallel --env doit -S server doit ::: 1 2 3 + parallel --env doubleit -S server doubleit ::: 1 2 3 ::: a b +@end verbatim + @chapter EXAMPLE: Removing file extension when processing files @anchor{EXAMPLE: Removing file extension when processing files}