GNU Parallel and Bash functions: How to run the simple example from the manual
You cannot call a shell function from outside the shell where it was defined. A shell function is a concept inside the shell. The parallel command itself has no way to access it. Calling export -f doit in bash exports the function via the environment so that it is picked up by child processes. But … Read more