Horst Scheuermann wrote:
> my updatedcc does not work.
>
> urts94:/home/dcc/libexec # ./updatedcc
> ./updatedcc: line 414: unexpected EOF while looking for matching ``'
> ./updatedcc: line 469: syntax error: unexpected end of file
That is due to a bug in 1.3.51 that I think is triggered with some
versions of bash used as /bin/sh. It is a problem I keep encountering
due to the incompatible change in bash's priorities for ' and `. As
Asgeir of vifilfell.is reported, the bug is in line 105 of updatedcc:
e) NEWVAL=`echo "$OPTARG" | sed -e 's/\([^-_/:=+,.a-zA-Z0-9]\)/\\\\\1/g`
There is a missing single-quote (') near the end of that line. It should be
e) NEWVAL=`echo "$OPTARG" | sed -e 's/\([^-_/:=+,.a-zA-Z0-9]\)/\\\\\1/g'`
I had foolishly hoped that perhaps only Asgeir was running bash and got
version 1.3.51.
Vernon Schryver [EMAIL PROTECTED]
_______________________________________________
DCC mailing list [email protected]
http://www.rhyolite.com/mailman/listinfo/dcc