#! /bin/sh set -e match=`echo foo | grep -E bar` if [ "x$match" != 'x' ]; then echo foo is bar fi echo we get here
fails with /bin/bash and /bin/dash Cheers, - Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]