Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

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@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author