1*48243Sbostic#!/bin/sh -
29078Srrh#
3*48243Sbostic# %sccs.include.proprietary.sh%
49078Srrh#
5*48243Sbostic#	@(#)explain.sh	4.7 (Berkeley) 04/17/91
6*48243Sbostic#
7*48243Sbostic
837872SbosticD=/usr/share/dict/explain.d
912805Sralphwhile	echo 'phrase?'
1012805Sralph	read x
119078Srrhdo
1212805Sralph	case $x in
1312805Sralph	[a-z]*)	sed -n /"$x"'.*	/s/\(.*\)	\(.*\)/use "\2" for "\1"/p' $D
1412805Sralph	esac
159078Srrhdone
16