summaryrefslogtreecommitdiff
path: root/ext/SDBM_File/sdbm/grind
diff options
context:
space:
mode:
Diffstat (limited to 'ext/SDBM_File/sdbm/grind')
-rwxr-xr-xext/SDBM_File/sdbm/grind9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/SDBM_File/sdbm/grind b/ext/SDBM_File/sdbm/grind
new file mode 100755
index 0000000000..23728b7d49
--- /dev/null
+++ b/ext/SDBM_File/sdbm/grind
@@ -0,0 +1,9 @@
+#!/bin/sh
+rm -f /tmp/*.dir /tmp/*.pag
+awk -e '{
+ printf "%s\t", $0
+ for (i = 0; i < 40; i++)
+ printf "%s.", $0
+ printf "\n"
+}' < /usr/dict/words | $1 build /tmp/$2
+