Re: Clarification about special characters in version and some suggestions

2019-12-31 Thread Russ Allbery
Florian Weimer writes: > But until these versions are explicitly described as invalid, shouldn't > the comparison algorithm cover them, so that different implementations > behave in the same way? Oh, definitely. And I believe the textual description does cover them; there just aren't any exampl

Re: Clarification about special characters in version and some suggestions

2019-12-31 Thread Florian Weimer
* Russ Allbery: > Samuel Henrique writes: > >> I suggest making it more explicit by adding an example to it and >> explicitly writing the precedence of them, I did some tests with dpkg >> --compare-versions to confirm and found out that that is (n being a >> number): >> "~ - n + ." eg.: 1.0~0-1