On 04/20/2010 12:06 PM, Jim Meyering wrote:
Good catch, Eric. Note that GNU grep for "." appears always to have matched NUL and that Solaris-10's does not.
Indeed the relevant syntax bit is not set in RE_SYNTAX_GREP and RE_SYNTAX_POSIX_EGREP. Maybe that should be conditionalized on POSIXLY_CORRECT.
I'll rebootstrap (getting rid of the newlib change) and apply Jim's patch. If anybody wants to beat me on the POSIXLY_CORRECT patch, please go ahead.
Paolo
