#!/bin/sh
#	Apropos - search a database of man-page headers for keywords
#			Paul Balyoz   5/9/90
#
PATH=/usr/bin:/bin

DATABASE=/usr/local/lib/whatis

if test $# -ne 1; then
	echo "usage: apropos keyword" 1>&2
	exit 1
fi

grep -i "$1" $DATABASE  || echo "$1: nothing appropriate" 1>&2
exit 0
