Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Identifier bug
- X-seq: zsh-workers 4846
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: Identifier bug
- Date: Fri, 18 Dec 1998 12:02:24 +0100
- In-reply-to: "Sven Wischnowsky"'s message of "Fri, 18 Dec 1998 11:59:03 NFT." <199812181059.LAA16690@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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 <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author