From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17299 invoked from network); 18 Dec 1998 11:23:27 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 18 Dec 1998 11:23:27 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id GAA28746; Fri, 18 Dec 1998 06:18:51 -0500 (EST) Resent-Date: Fri, 18 Dec 1998 06:18:51 -0500 (EST) Message-Id: <9812181102.AA53840@ibmth.df.unipi.it> To: zsh-workers@math.gatech.edu Subject: Re: Identifier bug In-Reply-To: "Sven Wischnowsky"'s message of "Fri, 18 Dec 1998 11:59:03 NFT." <199812181059.LAA16690@beta.informatik.hu-berlin.de> Date: Fri, 18 Dec 1998 12:02:24 +0100 From: Peter Stephenson Resent-Message-ID: <"90oIx2.0.517.ReZUs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4846 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Sven Wischnowsky wrote: > Ok, now I dare to propose this one. That, I understand. I spent 10 minutes trying to work out what the strcpsn() was supposed to do. > But note that this still has problems if the string inside the `[...]' > contains unmatched opening or closing brackets. Probably the right thing to do in the long term is have the opening and closing brackets remaining tokenized. Then if there is an unbalanced ] in the middle inside quotes it won't be seen as a delimiter. If it's not quoted, of course, you have the seem problem, but that's just down to the syntax. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy