Re: Equal and unequal versions

"Bernhard R. Link" <[email protected]>
Newsgroups gmane.linux.debian.curiosa
Message-ID <[email protected]>
* Lionel Elie Mamane <[email protected]> [080816 19:40]:
> master@bagnat:~$ dpkg --compare-versions 5.2.0 eq 5.2. && echo true || echo false
> true
> master@bagnat:~$ dpkg --compare-versions 5.2.0~ eq 5.2.~ && echo true || echo false
> false

compare with

| $ dpkg --compare-versions 5.2.0a eq 5.2.a && echo true || echo false
| false

So how is that related to "~"?

Hochachtungsvoll,
	Bernhard R. Link
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.