doc: Simplifying language around escaping.
## Bash script (${bash_script_name})
-When passing an argument that must be quoted; for example, it contains a space, to ${bash_script_name}, you must
-quote the argument using escaped quote characters by preceding each quote with a backslash character. For example:
+When an argument contains a space, you should wrap the argument with a quote.
- bash <(curl -s -L detect.synopsys.com/detect.sh) --detect.project.name=\"Project Test\"
+For example:
-When passing an argument that contains a character that must be escaped; for example, an exclamation point, to ${bash_script_name}, you must
-escape the character by preceding the character with a backslash character and quote the string that contains it. For example:
+ detect.sh --detect.project.name=\"Project Test\"
- bash <(curl -s -L detect.synopsys.com/detect.sh) --detect.project.name="Project\!Test"
+When an argument contains a special character (for example, an exclamation point) you must
+escape the character with a backslash. The backslash should precede the escaped character.
-## PowerShell script (${powershell_script_name})
+For example:
-When passing an argument that must be quoted; for example, it contains a space, to ${powershell_script_name}, you must
-quote the argument using escaped quote characters, by preceding each quote with a back quote character. For example:
+ bash <(curl -s -L detect.synopsys.com/detect.sh) --detect.project.name="Project\!Test"
- powershell "[Net.ServicePointManager]::SecurityProtocol = 'tls12'; irm detect.synopsys.com/detect.ps1?$(Get-Random) | iex; detect" --detect.project.name=`"Project Test`"
+## PowerShell script (${powershell_script_name})
-When passing an argument that contains a character that must be escaped; for example, a back quote character, to ${powershell_script_name}, you must
-escape the character by preceding the character with a back quote character. For example:
+When an argument contains a space, comma or other special character, you should escape the character with a back quote. The back quote should precede the escaped character.
- powershell "[Net.ServicePointManager]::SecurityProtocol = 'tls12'; irm detect.synopsys.com/detect.ps1?$(Get-Random) | iex; detect" --detect.project.name=Project``Test
+For example:
+ detect.ps1 --detect.project.name=Project` Test
+ detect.ps1 --detect.signature.scanner.paths=path1`,path2
\ No newline at end of file
