[前][次][番号順一覧][スレッド一覧]

ruby-changes:32132

From: a_matsuda <ko1@a...>
Date: Sun, 15 Dec 2013 03:27:07 +0900 (JST)
Subject: [ruby-changes:32132] a_matsuda:r44211 (trunk): [DOC] Fix output of Shellwords.escape() by @anatol [Fixes GH-483]

a_matsuda	2013-12-15 03:26:59 +0900 (Sun, 15 Dec 2013)

  New Revision: 44211

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44211

  Log:
    [DOC] Fix output of Shellwords.escape() by @anatol [Fixes GH-483]
    
    * lib/shellwords.rb:  Fix output of Shellwords.escape()
    https://github.com/ruby/ruby/pull/483
    [ci-skip]

  Modified files:
    trunk/lib/shellwords.rb
Index: lib/shellwords.rb
===================================================================
--- lib/shellwords.rb	(revision 44210)
+++ lib/shellwords.rb	(revision 44211)
@@ -33,7 +33,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/shellwords.rb#L33
 # This method will escape the String for you to safely use with a Bourne shell.
 #
 #   argv = Shellwords.escape("special's.txt")
-#   argv #=> "special\\s.txt"
+#   argv #=> "special\\'s.txt"
 #   system("cat " + argv)
 #
 # Shellwords also comes with a core extension for Array, Array#shelljoin.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]