Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ShellQuoting

Index

Enumeration Members

Enumeration Members

Escape: 1

Character escaping should be used. This for example uses \ on bash and ` on PowerShell.

Strong: 2

Strong string quoting should be used. This for example uses " for Windows cmd and ' for bash and PowerShell. Strong quoting treats arguments as literal strings. Under PowerShell echo 'The value is $(2 * 3)' will print The value is $(2 * 3)

Weak: 3

Weak string quoting should be used. This for example uses " for Windows cmd, bash and PowerShell. Weak quoting still performs some kind of evaluation inside the quoted string. Under PowerShell echo "The value is $(2 * 3)" will print The value is 6