start-dccm: line 152: unexpected EOF

Gary V lists@johnmecham.com
Mon Apr 10 04:37:24 UTC 2006


I have seen this on several systems at this point.
All of these systems are using a new Debian Etch beta CD with
Linux kernel 2.6.15-1-486 with DCC 1.3.31

Looks like a compatibility problem with 'tr'
My coreutils version is 5.2.1-2.1

I am using the supplied init scrip to start dccifd but
of course the same error occurs if running start-dccm by itself:

./start-dccm: line 152: unexpected EOF while looking for matching `''
./start-dccm: line 198: syntax error: unexpected end of file

In an attempt to try something, changing the single quotes on line 152 to back ticks:
          echo "."  | tr -d `\012`
results in:
./start-dccm: line 150: unexpected EOF while looking for matching `''
./start-dccm: line 198: syntax error: unexpected end of file

changing the single quotes on line 150 to back ticks:
          echo "    stopping dccm PID $PID "  | tr -d `\012`
results in:
./start-dccm: line 104: unexpected EOF while looking for matching `''
./start-dccm: line 198: syntax error: unexpected end of file

looking at line 104:
          -o `expr "X$ARGV0" : '\(X[-_a-zA-Z0-9]*\)` != "X$ARGV0"; then

 I didn't know what to try next.

Gary V




More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.