summaryrefslogtreecommitdiff
path: root/add_ln
diff options
context:
space:
mode:
Diffstat (limited to 'add_ln')
-rwxr-xr-xadd_ln8
1 files changed, 8 insertions, 0 deletions
diff --git a/add_ln b/add_ln
new file mode 100755
index 0000000..35bc44d
--- /dev/null
+++ b/add_ln
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+
+i = 0
+while line = STDIN.gets
+ puts "#{i}\t#{line}"
+ i += 1
+end
+