CBFalconer wrote:
Frank Heckenbach wrote:
Adriaan van Os wrote:
jan.ruzicka@comcast.net wrote:
TEST fjf165a.pas: ./fjf165a.cmp: line 40: unexpected EOF while looking for matching `"' ./fjf165a.cmp: line 42: syntax error: unexpected end of file
Does anybody have any idea what may cause this?
I can reproduce it now on Mac OS X 10.3, it doesn't happen on Mac OS X 10.2. I guess it has something to do with the redirection used in the fjf165a.cmp script, but this is really something for shell-script experts:
if gcc dummy.c > /dev/null 2>&1 && [ -r "$A_OUT" ] && [ x"`./"$A_OUT" 2> /dev/null`" = x"Â" ]; then
^^ (quote mark as anti wrap move) ^
shouldn't that thing above be ", not /"? I have no idea what it is all doing.
The standard directory separator is /. Even on Dos, sane shells (such as bash) recognize this. ;-)
Frank