quoting
joeyh at
If my machine-generated shell script contains things like '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"', is it good, bad, or doesn't matter?
Something like this, perhaps?
http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp/tree/cliapp/runcmd.py#n253
http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp/tree/cliapp/runcmd.py#n253