19078Srrh#! /bin/sh
29078Srrh#
3*12805Sralph#	@(#)explain.sh	4.5	(Berkeley)	83/05/27
49078Srrh#
59078SrrhD=/usr/lib/explain.d
6*12805Sralphwhile	echo 'phrase?'
7*12805Sralph	read x
89078Srrhdo
9*12805Sralph	case $x in
10*12805Sralph	[a-z]*)	sed -n /"$x"'.*	/s/\(.*\)	\(.*\)/use "\2" for "\1"/p' $D
11*12805Sralph	esac
129078Srrhdone
13