diff --git a/docs/scripting.xml b/docs/scripting.xml index b790ef9ce..9af924c72 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -757,9 +757,11 @@ Nmap script database, but should be used cautiously since Nmap may contain explo nmap -sC --script-args 'user=foo,pass=",{}=bar",whois={whodb=nofollow+ripe},userdb=C:\Some\Path\To\File' - Notice that the script arguments are surrounded in single quotes. This - prevents the shell from interpreting the double quotes and doing - automatic string concatenation. The command results in this Lua table: + Notice that the script arguments are surrounded in single quotes. For the + Bash shell, this prevents the shell from interpreting the double quotes + and doing automatic string concatenation. Naturally, different shells may + require you to escape quotes or to use different quotes. See your + relevant manual. The command results in this Lua table: {user="foo",pass=",{}=bar",whois={whodb="nofollow+ripe"},userdb="C:\\Some\\Path\\To\\File"}