bug in ksh?

Andrzej 'The Undefined' Dopierała undefine at aramin.net
Fri Jul 7 12:48:15 CEST 2006


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

-- 
Andrzej 'The Undefined' Dopierała
UNIX && Linux administrator,      Adam Mickiewicz University WMiI
PLD Linux Developer      HomePage: http://andrzej.dopierala.name/
JID: undefine at piastlan.net         e-mail: andrzej at dopierala.name


More information about the pld-devel-en mailing list