From: Todd C. Miller Date: Sat, 6 Apr 1996 21:29:46 +0000 (+0000) Subject: documented double quoting X-Git-Tag: SUDO_1_5_0~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8e16f134c5d9a484dcd6854d51e5db89e9415b3;p=sudo documented double quoting --- diff --git a/sudoers.pod b/sudoers.pod index 263ee0970..95eb7c2fe 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -57,6 +57,14 @@ will be used. path ::= a fully qualified pathname. arg[1..n] ::= optional command line arguments. +Note that arguments in double quotes (") are treated as +a single argument, whis is similar to most shells. +Ie, given C, the C<"cd /src; ls"> +is treated as a single argument, just as it would be +in a shell. If you don't want double quotes to be +interpreted this way, you can escape them with a +backslash (\). + =head2 wildcards (aka meta characters): B allows shell-style I along with command arguments