Subject: bug#16380: Failing tests on Solaris in 2.16

From: Dagobert Michelsen <[email-masked]>
Date: Tue, 7 Jan 2014 09:29:25 +0100

Hi,

I have two failing tests for GNU grep 2.16 on Solaris 10 Sparc with Sun Studio 12:
  http://buildfarm.opencsw.org/~dam/grep-2.16-test-suite.log

Both boil down to the error

  + /bin/sh ere.script
  ere.script: syntax error at line 3: `status=$’ unexpected

generated from bre.awk using the bashism

  printf ("status=$(echo '%s' | { grep -e '%s' > /dev/null 2>&1; echo $? ; })\n",$3, $2);

Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896