From owner-freebsd-hackers Sat Nov 16 17:59:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC65337B401 for ; Sat, 16 Nov 2002 17:59:13 -0800 (PST) Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3186943E8A for ; Sat, 16 Nov 2002 17:59:13 -0800 (PST) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.6/8.12.6) with ESMTP id gAH1xCG1052133; Sat, 16 Nov 2002 18:59:12 -0700 (MST) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200211170159.gAH1xCG1052133@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: dhh@monroe.net Cc: freebsd-hackers@freebsd.org Subject: Re: finding unmatched quotes in shell scripts In-reply-to: Your message of "Sat, 16 Nov 2002 17:26:44 PST." <200211161726.44873.dhh@monroe.net> X-Mailer: mh-e 6.1+cvs; nmh 1.0.4; Emacs 21.2 Date: Sat, 16 Nov 2002 18:59:12 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. That's why I'm more interested in something that can actually parse Bourne shell syntax (quiet Terry - I *know* what you're going to say) and dump out what it thinks the parse tree looks like. The problem isn't with the quotes being unbalanced, it's something else that's making the shell ignore one (or more) of those quotes. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message