diff options
Diffstat (limited to 'even')
-rwxr-xr-x | even | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/usr/bin/env ruby + +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 + |