Hello everybody :)
I've been trying to write some scripts to compare versions of packages, mainly RPM package names. I wrote something that can compare two versions together, but it's quite sloppy and doesn't work if there are letters involved in a package name. I was wondering if there is anybody else out there that has done something similar?
I'd be looking to compare something like mozilla-1.4.2-3.0.2 and mozilla-1.4-3.0.18 or something like mozilla-1.4.2r-3.0.2 and mozilla-1.4g-3.0.18. I'm sure you get the idea. Thanks.
In reply to Version checking by jasonc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |