summaryrefslogtreecommitdiff
path: root/key-count
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
committerPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
commitb31ace79ea5f6b3f279c544cd3a443d6fbf2a24d (patch)
tree31f2b599fa5f6996aeb134390d58deb63eefe04a /key-count
parent8805e95ae94d798c6441f7e1b72c90e049563f17 (diff)
overhaulHEADmaster
Diffstat (limited to 'key-count')
-rwxr-xr-xkey-count5
1 files changed, 2 insertions, 3 deletions
diff --git a/key-count b/key-count
index deaa522..b853362 100755
--- a/key-count
+++ b/key-count
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-STDIN.set_encoding 'utf-8'
-STDOUT.set_encoding 'utf-8'
+STDIN.set_encoding "utf-8"
+STDOUT.set_encoding "utf-8"
h = {}
h.default = 0
@@ -11,4 +11,3 @@ while line = STDIN.gets
end
h.each_pair { |k,v| puts "#{k} #{v}" }
-