bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash-3.1 Official patch 10


From: Jeff Chua
Subject: Re: Bash-3.1 Official patch 10
Date: Thu, 23 Feb 2006 09:49:57 +0800 (SGT)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]