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