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
+