As a follow up, can the documentation for the arg tage be clarified? It says "a
single command-line argument; can contain space characters" but seems like it should
include other command-line parsing break characters such as double-quote and single
quote.

A side note: In Perl it is a common mistake to use exec with just one parameter:

exec "$cmd $parm1 $parm2 $parm3";

instead of

exec ($cmd, $parm1, $parm2, $parm3);

The first, bad, way causes all kinds of quoting grief. Unless, of course, you WANT
the shell to parse the command line before passing it to exec().

Just remember that the arguments to main() are universally a list, not a string.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to