If you export HOME="/tmp", then parallel always asks for a citation. How do stop the citation from the command line?
On Sat, Jan 27, 2024 at 12:32 AM Ole Tange <o...@tange.dk> wrote: > > On Thu, Jan 25, 2024 at 3:27 PM Saint Michael <vene...@gmail.com> wrote: > > > > I found a bug. > > this script generates an error > > -------------------- > > #!/bin/bash > > export HOME="/tmp" > > process2(){ > > x="$1" > > job="$2" > > echo "$job, $x" > > > > } > > export -f process2 > > seq 2 11|parallel --gnu --no-run-if-empty -k --lb -j+0 --colsep ' ' > > process2 "{1} {#}" 2>&1 > > ---------------- > > but if you change > > export HOME="/root" > > > > I get no error when running that. > > This means your problem depends on your environment. > > Please follow > https://www.gnu.org/software/parallel/man.html#bug-dependent-on-environment > > /Ole >