From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26550 invoked from network); 18 Aug 2000 07:00:41 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Aug 2000 07:00:41 -0000 Received: (qmail 1082 invoked by alias); 18 Aug 2000 07:00:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12674 Received: (qmail 1050 invoked from network); 18 Aug 2000 07:00:05 -0000 Date: Fri, 18 Aug 2000 09:00:01 +0200 (MET DST) Message-Id: <200008180700.JAA13467@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Bart Schaefer's message of Thu, 17 Aug 2000 13:53:42 -0700 (PDT) Subject: Re: 3.0.8 math bug? Bart Schaefer wrote: > ... > > The semantic answer is "because the value of a variable evaluated in math > context is treated as an expression, and that expression is itself > evaluated." > > ... > > Hence in 3.1.somethingmorethan6butIforgetwhat, an arbitrary limit on the > depth of math recursion was imposed, and you get: > > > zsh: math recursion limit exceeded Btw, I wasn't happy about this behaviour at that time, but then I tried it with ksh and bash and both of them do the same as 3.1.x, i.e. they report an recursion-too-deep error. I haven't tried which shell allows the deepest recursion, though. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de