# File mod_docs/cgi.rb, line 17 def self.quote_sh(string) # for Bourne shell '"' + string.gsub(/["\$\`\\]/) { |special| "\\" + special } + '"' end