Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
arithmetic base accepted on output but not input
- X-seq: zsh-workers 25024
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: arithmetic base accepted on output but not input
- Date: Wed, 14 May 2008 11:22:53 +0100
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hiya,
there's a bit of a consistency issue here:
~$ echo $(([#50]49))
50#h
~$ echo $((50#h))
zsh: invalid base: 50
~$ integer -i 50 a
~$ a=123
~$ echo $a
50#2N
Cheers,
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author