]> granicus.if.org Git - sudo/commitdiff
documented double quoting
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 6 Apr 1996 21:29:46 +0000 (21:29 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 6 Apr 1996 21:29:46 +0000 (21:29 +0000)
sudoers.pod

index 263ee0970c679e96f118d3473a116d5a1a3a5c49..95eb7c2fec763ab8633cafa373eee604ed3ae278 100644 (file)
@@ -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<sh -c "cd /src; ls">, 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<sudo> allows shell-style I<wildcards> along with command arguments