swarm-support
[Top][All Lists]
Advanced

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

Re: Argument passing to swarm (equal sign puzzle)


From: Marcus G. Daniels
Subject: Re: Argument passing to swarm (equal sign puzzle)
Date: 04 Dec 1998 14:08:18 -0800

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> This makes me think that the command line ought to be ./heatbugs
PJ> -n=137 However, this does not work, because the argument
PJ> processing thinks that the parameter string is "=137" and the atoi
PJ> function does not work on it (because of the equal sign being
PJ> treated as part of the parameter). It seems to me this is may be a
PJ> general problem,or at least an ambiguity in the docs distributed
PJ> for Arguments.

It's conventional that in GNU programs the long-argument parsing
accepts either the single-argument "key=value" or one or two-argument key/value
syntax, but the short-argument syntax only accepts the latter.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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