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

N=5 echo $[N-1] why doesn't it work as expected



Hi,

sorry for this very simple question.

N=2
N=5 echo $[N-1]
displays 1 - I'd expected 4.
Would anybody please explain why?
This is with ZSH 4.3.10-dev-1

Many thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



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