summaryrefslogtreecommitdiff
path: root/mkidx
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2019-12-24 09:58:56 +0100
committerPatrick Simianer <p@simianer.de>2019-12-24 09:58:56 +0100
commitd6ad8327a873043ba01aeb226dabd3a8716f82ae (patch)
treece22df67728d0fe5e5eb2acc1b791cf2622a9c50 /mkidx
parent44701457f800fa53959625a98ec1972269b64cfd (diff)
mkidx
Diffstat (limited to 'mkidx')
-rwxr-xr-xmkidx10
1 files changed, 10 insertions, 0 deletions
diff --git a/mkidx b/mkidx
new file mode 100755
index 0000000..046e131
--- /dev/null
+++ b/mkidx
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+require 'zipf'
+
+i = ARGV[0].to_i
+while line = STDIN.gets
+ puts i
+ i += 1
+end
+