> In case you were not aware of it, pacman provides an executable named "vercmp"
> to compare versions. It also provides a vercmp manpage to explain how ALPM's
> version comparison function works.
> 
> $ vercmp 2.1_1 2.1.1_0
> -1

I wasn't aware, thanks for the tip!

> The underscore system seems to work as expected. I was afraid that it would
> trigger alphanumeric comparisons (e.g. 2.3_0 > 2.24_0) but it does not:
> 
> $ vercmp 2.r3_0 2.r24_0
> -1

Good idea to think about and test this point.

++ Fab

Attachment: pgpdwfRKg_fbG.pgp
Description: PGP signature

_______________________________________________
arch-haskell mailing list
arch-haskell@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/arch-haskell

Reply via email to