summaryrefslogtreecommitdiff
path: root/odd
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-01-29 19:14:08 +0100
committerPatrick Simianer <p@simianer.de>2014-01-29 19:14:08 +0100
commit68acbb9a0c7967cb90a7e3756fc94fdd8a73d154 (patch)
tree3b445131dcb203e94473ae1d8aa82a1798585276 /odd
parent49158e721bfaf6423dca9fc633873218f691c83a (diff)
make use of nlp_ruby, LICENSE
Diffstat (limited to 'odd')
-rwxr-xr-xodd1
1 files changed, 1 insertions, 0 deletions
diff --git a/odd b/odd
index 0bd9336..93aaa80 100755
--- a/odd
+++ b/odd
@@ -3,6 +3,7 @@
STDIN.set_encoding 'utf-8'
STDOUT.set_encoding 'utf-8'
+
i = 1
while line = STDIN.gets
puts line if i%2!=0