Re: [Nagios-devel] Double escaping when using $ARGS1$?
-
Guest
Re: [Nagios-devel] Double escaping when using $ARGS1$?
On May 19, 2009, at 7:09 PM, Ton Voon wrote:
> Is this correct behaviour? I think this is wrong, or at least
> inconsistent.
It's documented as being this way to allow you to escape '!' in
command arguments... I can see that it makes sense because you're
adding another layer of substitution above the shell and the \-escape
handling is probably not '!' specific.
http://nagios.sourceforge.net/docs/3_0/macros.html
"Tip: If you need to pass bang (!) characters in your command
arguments, you can do so by escaping them with a backslash (\). If you
need to include backslashes in your command arguments, they should
also be escaped with a backslash. "
--
Marc
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]