> if [ "$CHECK" != "$OK" ]; then > echo $CHECK | mail -s "$SUB1" $RECPT Yeah, that works fine. I have made a few changes in and around the $CHECK concept. Works like charm. Thanks. ___________________________________________________________ Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/