summaryrefslogtreecommitdiff
path: root/key_count
diff options
context:
space:
mode:
Diffstat (limited to 'key_count')
-rwxr-xr-xkey_count14
1 files changed, 0 insertions, 14 deletions
diff --git a/key_count b/key_count
deleted file mode 100755
index deaa522..0000000
--- a/key_count
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env ruby
-
-STDIN.set_encoding 'utf-8'
-STDOUT.set_encoding 'utf-8'
-
-h = {}
-h.default = 0
-while line = STDIN.gets
- line.strip!
- h[line] += 1
-end
-
-h.each_pair { |k,v| puts "#{k} #{v}" }
-