shellwords() が '...' 内の \ をメタ文字扱いしてしまうのですが、
以下のように修正するとまずいことはありますか?

Sun Jan 12 05:12:18 2003  Akinori MUSHA  <knu / iDaemons.org>

	* lib/shellwords.rb (shellwords): '\' in single quotes should not
	  be regarded as meta character.  This bug or maybe feature was
	  inherited from Perl's shellwords.pl.

Index: shellwords.rb
===================================================================
RCS file: /src/ruby/lib/shellwords.rb,v
retrieving revision 1.5
diff -u -r1.5 shellwords.rb
--- shellwords.rb	3 Jun 2001 19:25:07 -0000	1.5
+++ shellwords.rb	11 Jan 2003 20:17:29 -0000
@@ -26,9 +26,8 @@
 	  snippet.gsub!(/\\(.)/, '\1')
 	elsif line =~ /\A"/ then #"
 	  raise ArgumentError, "Unmatched double quote: #{line}"
-        elsif line.sub!(/\A'(([^'\\]|\\.)*)'/, '') then #'
+	elsif line.sub!(/\A'([^']*)'/, '') then #'
 	  snippet = $1
-	  snippet.gsub!(/\\(.)/, '\1')
 	elsif line =~ /\A'/ then #'
 	  raise ArgumentError, "Unmatched single quote: #{line}"
 	elsif line.sub!(/\A\\(.)/, '') then

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"It went right by me -- At the time it went over my head
   I was looking out the window.. I should have looked at your face instead"