#!/bin/sh
DICT=/path/to/your/dictionary
[ "$1" != "" ] && grep "$1" $DICT
echo -e "\n***** Enter a word *****\n"
while true
do
read word
if [ $word != "" ]; then
grep "$word" $DICT
echo -e "\n**************** Enter a word *****************************\n"
fi
done
В /path/to/your/dictionary поместите какой-нибудь словарь.