Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
N=5 echo $[N-1] why doesn't it work as expected
- X-seq: zsh-users 14235
- From: Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: N=5 echo $[N-1] why doesn't it work as expected
- Date: Fri, 17 Jul 2009 09:24:51 +0200 (CEST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: jarausch@xxxxxxxxxxxxxxxxxxx
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