xref: /freebsd/lib/libc/db/test/hash.tests/makedb.sh (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
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