[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Parallel Bug Reports Latest parallel in non-default prefix gives

From: Robin Neatherway
Subject: Re: GNU Parallel Bug Reports Latest parallel in non-default prefix gives errors about retired options
Date: Fri, 29 Aug 2014 12:10:42 +0100

On Thu, Aug 28, 2014 at 8:11 PM, Ole Tange <address@hidden> wrote:
> --tollef was retired after being obsolete for a full year:
> http://lists.gnu.org/archive/html/parallel/2013-02/msg00018.html

Yes, I appreciate this fact.

>> Either using --plain or creating an empty profile and using that every
>> time on the command line worked:
>> $ echo > ~/.parallel/config
>> $ ls | parallel --profile=config echo {}
>> file1
>> file2
>> ...
> Don't do that. Remove the retired --tollef option instead. If the
> --tollef in /etc/parallel/config is installed by a package, please
> escalate this to the package maintainer.

I don't have root access on this machine, so I cannot remove this
file. Fedora 20 ships with GNU Parallel 20130522, so while I disagree
with them using that option by default, it is valid for that version
of parallel.

>> I may be mistaken, but there seem to be a few bugs here:
>> 1. --gnu doesn't override --tollef although it states that it does in
>> the manpage
> This is what it says in the man page:
>       --gnu    Behave like GNU parallel. If --tollef and --gnu are both set,
>                   --gnu takes precedence.
>                   --tollef is retired, but --gnu is kept for compatibility.
> There is no section in the man-page for --tollef, thus is it not a
> supported option and if you use --tollef GNU Parallel will not run no
> matter which options you combine it with.

Yes, I read the man page, which is why I tried using --gnu. This
portion of the manual explicitly states that --gnu takes precedence
over --tollef. I think this sentence should be removed "If --tollef
and --gnu are both set, --gnu takes precedence".

> If you do not feel that is described clearly in the manual, please
> help by rephrasing the manual.

How would you like contributions? A patch to this mailing list against
this repo: http://git.savannah.gnu.org/cgit/parallel.git?

>> 2. /etc/parallel/config is only mentioned in the manpage as somewhere
>> that you *cannot* put --filter-hosts
>> 3. ~/.parallel/config does not seem to take precedence over 
>> /etc/parallel/config
> You cannot put options that are retired in any config file.

I see. Is it the case for other options that ~/.parallel/config
overrides /etc/parallel/config, or are they combined? I can't tell
from the manual, so once I understand I could had a section on
configuration file precedence.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]