On Tue, 23 Apr 2002 14:52:43 +1000 "Martijn van Oosterhout" <kleptog@svana.org> wrote: > On Tue, Apr 23, 2002 at 01:38:06PM +1000, Glenn McGrath wrote: > > On Mon, 22 Apr 2002 20:20:07 -0700 > > "Randolph Chung" <tausq@debian.org> wrote: > > > no, it means you split up the string into individual parts separated > > > by the non-digit characters (. - etc) > > > > > > > Arghhh... It doesnt understand real numbers, only integers. > > It can't use real numbers anyway. Otherwise, how would it compare: > > 1.02.4-5.6 and 1.1.3-3.1 > > So real numbers are out of the question. The alternative would be some > kind of alphanumeric sorting so 02 comes before 1. > It should be broken down at each decimal point, and the decimal point retained i.e. 1.02.4 brakes down to compare in order 1, 0.02, 0.4 Glenn
Attachment:
pgpSLuhJcx_NX.pgp
Description: PGP signature