Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.0.8 math bug?
- X-seq: zsh-workers 12674
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: 3.0.8 math bug?
- Date: Fri, 18 Aug 2000 09:00:01 +0200 (MET DST)
- In-reply-to: Bart Schaefer's message of Thu, 17 Aug 2000 13:53:42 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author