xref: /freebsd/lib/libc/db/test/hash.tests/makedb.sh (revision d0a9cc17ba44cff547c673bd3086231a68b76370)
1#!/bin/sh
2
3awk '{i++; print $0; print i;}' /usr/share/dict/words > WORDS
4ls /bin /usr/bin /usr/ucb /etc | egrep '^(...|....|.....|......)$' | \
5sort | uniq | \
6awk '{
7	printf "%s\n", $0
8	for (i = 0; i < 1000; i++)
9		printf "%s+", $0
10	printf "\n"
11}' > LONG.DATA
12