This function ensures that strings you use as arguments to the **system()** function (or **"cmd"{{{|}}}getline** commands) are safely quoted. First, all single quotes are converted to '\'', and finally, the argument is wrapped in single quotes. {{{ awk function shellquote(str) { gsub(/'/, "'\\''", str) return sprintf("'%s'", str) } }}}
Summary:
This change is a minor edit.
Username: