bug in ksh?
wrobell
wrobell at pld-linux.org
Fri Jul 7 12:54:33 CEST 2006
On Fri, 2006-07-07 at 12:48 +0200, Andrzej 'The Undefined' Dopierała
wrote:
> weirdy difference between sh from ksh and bash:
>
> [undefine at omega ~]$ bash
> [undefine at omega ~]$ [ "3000000000" -ge "2000000000" ] && echo works
> works
> [undefine at omega ~]$ sh
> [undefine at omega ~]$ [ "3000000000" -ge "2000000000" ] && echo works
> [undefine at omega ~]$
>
> [undefine at omega ~]$ rpm -qf /bin/sh /bin/bash
> pdksh-5.2.14-43
> bash-3.1.017-1
32 bit unsigned int vs 32 bit signed int vs 64 bit long?
wrobell <wrobell at pld-linux.org>
More information about the pld-devel-en
mailing list