On Wed, 22 Feb 2006, Greg Schafer wrote:

status=`echo '-'| { ${GREP} -E -e 'a\' >/dev/null 2>&1 ; echo $?; }`

You're having one additional "\" ... change that to ...
status=`echo '-'| { ${GREP} -E -e 'a' >/dev/null 2>&1 ; echo $?; }`


or split to the next line ...

        status=`echo '-'| { ${GREP} -E -e 'a\
                        ' >/dev/null 2>&1 ; echo $?; }`

or remove the "\" altogether.


Thanks,
Jeff.


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to