Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 20:10:33 -0800
From:      Doug Barton <DougB@FreeBSD.org>
To:        Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: finding unmatched quotes in shell scripts
Message-ID:  <3DD86839.823A4505@FreeBSD.org>
References:  <200211170159.gAH1xCG1052133@orthanc.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Lyndon Nerenberg wrote:
> 
> I've tried a number of syntax-colouring editors, to no avail. The quotes
> (single, double, and back) *are* balanced, according to everything I've
> thrown the script at. 

In addition to the other excellent suggestions, I'd suggest using the
syntax highlighting editor, and start deleting quotes here and there.
You might find that the de-highlighting happens in places that you don't
expect. 

Also, it might help you to break the program down into smaller
functions. That usually makes it easier to locate the errors.

Doug

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD86839.823A4505>