Is there a program or script installed/installable by Fedora that can be used to compare dotted version strings (eg. "1.5.2") from a shell script?
David
On Wed, Aug 31, 2011 at 06:20:35PM +0100, David Howells wrote:
Is there a program or script installed/installable by Fedora that can be used to compare dotted version strings (eg. "1.5.2") from a shell script?
For non-RPM version strings, try 'sort -V'.
Rich.