While in version 1.8.7 I have a version with backported Shellwords::shellescape , I know that this method is a 1.9 function and is definitely not supported in earlier versions of 1.8. Does anyone know where I can find, both in Gem form and in fragment form, a reliable standalone implementation of the Bourne-shell command for escaping Ruby?
ruby bash shell escaping sh
Avdi Aug 20 '09 at 14:45 2009-08-20 14:45
source share