On Sun, Nov 17, 2002 at 05:57:20PM +1000, Greg Black said: 
> Surely the simple thing is to put an exit statement in the
> middle of the script and see which half has the problem?  Move
> the exit statement forwards or backwards in a binary search
> until the problem leaps out and hits you in the face.

that's what I do. when I've had that error, it actually turns out to be
something fantastically stupid like this (I'm pretty sure this was what
happened):

foo () {
    # do stuff
    return }

which seemingly has nothing to do with quoting. (that may not be a valid
example, I'm pulling it from memory, but it was along those lines and
absolutely nothing to do with quotation marks.)

chris


-------------------------------
Chris Doherty
chris [at] randomcamel.net

"I think," said Christopher Robin, "that we ought to eat
all our provisions now, so we won't have so much to carry."
               -- A. A. Milne
-------------------------------

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to