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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash