summaryrefslogtreecommitdiff
path: root/num-tok
diff options
context:
space:
mode:
Diffstat (limited to 'num-tok')
-rwxr-xr-xnum-tok5
1 files changed, 2 insertions, 3 deletions
diff --git a/num-tok b/num-tok
index 56cbae9..0c95aa8 100755
--- a/num-tok
+++ b/num-tok
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
-STDIN.set_encoding 'utf-8'
-STDOUT.set_encoding 'utf-8'
+STDIN.set_encoding "utf-8"
+STDOUT.set_encoding "utf-8"
while line = STDIN.gets
puts line.strip.split.length
end
-