how to set number of jobs for GNU parallel in my script
<p>In the following script I want to explicitly set number of concurrent jobs to run the command:</p>

<pre><code>#!/usr/bin/parallel -j 2 --shebang-wrap /bin/bin
echo hi "$@"
</code></pre>

<p>when I run the script, I get the following error:
parallel: Error parsing of --jobs/-j/--max-proc/-P failed</p>

<p>any Idea on how to set number of jobs when making an existing script parallel?</p>