escapeShellArg

Escapes the argument according to the rules of bash, the most commonly used shell. This is mostly used for cosmetic purposes when printing out argument arrays where they could be copy-pasted into a shell.

pure
string
escapeShellArg
(
string arg
)

Meta