From 00e36aa09f54925c2f9c30524b48f4f54a9adb23 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Thu, 8 Dec 1994 14:17:29 +0900 Subject: version 0.60 https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02) * 0.60 released - alpha test baseline. --- sample/occur.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sample/occur.rb') diff --git a/sample/occur.rb b/sample/occur.rb index 12e469d20a..2141fade38 100644 --- a/sample/occur.rb +++ b/sample/occur.rb @@ -1,3 +1,5 @@ +# word occurrence listing +# usege: ruby occur.rb file.. freq = {} while gets() for word in $_.split(/\W+/) -- cgit v1.2.3