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