#! /bin/sh
#
# Let the user know if the word given as an argument is misspelled
#

if [ "`echo $1 | ispell -l`" ]
then
        echo "Misspelled"
        exit 1
else
        echo "Correct"
        exit 0
fi

