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