quoted
quoted
quoted
quoted
"Avery" == Avery Pennarun [off-list ref] writes:
Avery> Shell quoting is a disaster (including security holes, where relevant)
Avery> waiting to happen. The above is the only sane way to do it, and it
Avery> isn't very hard to implement. (Instead of system() in the subprocess,
Avery> you can use exec().)
quotemeta() is about regex quoting. This is not precisely the same as shell
quoting, and is both misleading, and potentially broken.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[off-list ref] <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion