On 2008-11-11 21:54 +0100, NewDeb wrote:

> Hi, 
>
> When I try to compare 3.102 to 3.34, I get an incorrect answer as follows. 
> dpkg --compare-versions 3.102 ge 3.34; echo $?
> 0
>
> However, if I specify 3.34 as 3.340, I get the correct answer as follows:
> dpkg --compare-versions 3.102 ge 3.340; echo $?
> 1
>
> Is this a bug ? 

No, it is simple mathematics: 102 >= 34, but 102 < 340.

Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to