summaryrefslogtreecommitdiff
path: root/odd
diff options
context:
space:
mode:
Diffstat (limited to 'odd')
-rwxr-xr-xodd5
1 files changed, 2 insertions, 3 deletions
diff --git a/odd b/odd
index 0bd9336..ced2861 100755
--- a/odd
+++ b/odd
@@ -1,11 +1,10 @@
#!/usr/bin/env ruby
-STDIN.set_encoding 'utf-8'
-STDOUT.set_encoding 'utf-8'
+STDIN.set_encoding "utf-8"
+STDOUT.set_encoding "utf-8"
i = 1
while line = STDIN.gets
puts line if i%2!=0
i+=1
end
-