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

Re: much nicer, more complete matrix



On Sat, Feb 2, 2013 at 8:25 AM, nick black wrote:

>  1.0-1 < 1.0-SprezzOS1

pabs@chianamo ~ $ if dpkg --compare-versions 1.0-1 '<' 1.0-SprezzOS1 ;
then echo true ; else echo false; fi
true

>  1.0-2 > 1.0-1SprezzOS1

pabs@chianamo ~ $ if dpkg --compare-versions 1.0-2 '>' 1.0-1SprezzOS1
; then echo true ; else echo false; fi
true

>  1.0-10 < 1.0-1SprezzOS1

pabs@chianamo ~ $ if dpkg --compare-versions 1.0-10 '<' 1.0-1SprezzOS1
; then echo true ; else echo false ; fi
false

> which breaks the scheme. It appears necessary to do something like
>
>  1.0-10 < 1.0-1{delim}SprezzOS1

Should not be needed, please read policy:

http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: