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

ruby-changes:29565

From: hsbt <ko1@a...>
Date: Tue, 25 Jun 2013 17:49:52 +0900 (JST)
Subject: [ruby-changes:29565] hsbt:r41617 (trunk): fix typo by @daveworth [fix GH-340]

hsbt	2013-06-25 17:49:36 +0900 (Tue, 25 Jun 2013)

  New Revision: 41617

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

  Log:
    fix typo by @daveworth [fix GH-340]

  Modified files:
    trunk/sample/freq.rb
    trunk/sample/occur.rb
    trunk/sample/occur2.rb

Index: sample/freq.rb
===================================================================
--- sample/freq.rb	(revision 41616)
+++ sample/freq.rb	(revision 41617)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/sample/freq.rb#L1
 # word occurrence listing
-# usege: ruby freq.rb file..
+# usage: ruby freq.rb file..
 freq = Hash.new(0)
 while line = gets()
   line.scan(/\w+/) do |word|
Index: sample/occur2.rb
===================================================================
--- sample/occur2.rb	(revision 41616)
+++ sample/occur2.rb	(revision 41617)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/sample/occur2.rb#L1
 # word occurrence listing
-# usege: ruby occur2.rb file..
+# usage: ruby occur2.rb file..
 freq = {}
 ARGF.each_line do |line|
   for word in line.split(/\W+/)
Index: sample/occur.rb
===================================================================
--- sample/occur.rb	(revision 41616)
+++ sample/occur.rb	(revision 41617)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/sample/occur.rb#L1
 # word occurrence listing
-# usege: ruby occur.rb file..
+# usage: ruby occur.rb file..
 freq = Hash.new(0)
 while line = gets()
   for word in line.split(/\W+/)

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

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