Hi Jim, Am 07.01.2014 um 19:20 schrieb Jim Meyering : > On Tue, Jan 7, 2014 at 12:29 AM, Dagobert Michelsen wrote: >> 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); > > Hi Dago, > Thanks for the report. > Does the attached patch fix it for you? > This solves one of the errors, the other one persists: + /bin/sh spencer1-locale.script spencer1-locale.script: syntax error at line 2: `status=$' unexpected 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