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

arithmetic base accepted on output but not input



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