Is there a simple way to find out which RPM version is newer?

For instance I have a bunch of RPM files with the same RPM name but with
different version numbers.
Doing a numeric comparison doesn't work in all cases since some versions
contain letters like "x", "p", etc. And doing a string comparison doesn't 
work either when you have numbers like "9" and "13" which would result in 
"9" being greater.

Is there a simple method to find out which RPM version is newer?

Thanks
Werner





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to