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