#!/bin/sh echo Arguments: $1 $2 $3 $4 if test -n "$1" then if grep $1 /usr/share/dict/american-english > /dev/null then echo You entered a valid word else echo $1 is not in the spell check dictionary fi fi for i in `ls | grep "py$"` do aspell -c $i done