\write18 to execute shell commands, there are some cases where lots of backslash strings, and other 'special' LaTeX characters are required in the commandline to be executed (e.g. if a regular-expression is needed, or when using awk).
It would be convenient to have a way of typing the command exactly as it should appear when used on the commandline (i.e. without needing to use
\string, etc.), and having it parsed verbatim, and given as an argument to
\write18. What ways are there of accomplishing this?