Don't use GNU Parallel --version, use --minversion instead

Subject: Don't use GNU Parallel --version, use --minversion instead

Date: Sun, 2 May 2021 20:57:24 +0200

To: notmuch@notmuchmail.org

Cc:

From: Ole Tange


Commit:
https://git.notmuchmail.org/git?p=notmuch;a=commitdiff;h=f2b5ad28e2b7b512d66946af34dd4149d1506bf4

Using GNU Parallel this way is not supported, and you have already
experienced why. But what _is_ supported for your use is using:

    parallel --minversion 20201122

which prints the version number and returns true if the version is >=
20201122. It is specifically made for situations like this.

Replace 20201122 with the earliest version of GNU Parallel which has
all the features needed for running your tasks.

Also remember that you can use `parallel --embed`.

/Ole
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: