NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/40512: "/bin/ksh" doesn't understand $((0x<hex>))



>Number:         40512
>Category:       bin
>Synopsis:       "/bin/ksh" doesn't understand $((0x<hex>))
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 29 11:40:01 +0000 2009
>Originator:     Matthias Scheler
>Release:        NetBSD 5.0_RC1
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 5.0_RC1 NetBSD 5.0_RC1 (COLWYN.64) #0: Mon 
Jan 26 16:38:11 GMT 2009 
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
NetBSD's "ksh" doesn't support hex number in evaluations. NetBSD's "sh",
"bash", "zsh" even Solaris's "/bin/ksh" support this.

>How-To-Repeat:
ksh
echo $((0x2a))

>Fix:
None provided.



Home | Main Index | Thread Index | Old Index