index
:
nlp_scripts
master
Mirror of https://github.com/pks/nlp_scripts.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
odd
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'odd')
-rwxr-xr-x
odd
1
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