hsk-libs-scripts  270
High Speed Karlsruhe XC878 build scripts
testver.sh File Reference

Implements comparison of version numbers. More...

Detailed Description

Implements comparison of version numbers.

This works by splitting the digits at the ".". Any operator accepted by test(1) works, as long as the operator is applicable to the digit. Missing digits (present in the other operand) are assumed 0.

Parameters
1First version number
2Comparison operator
3Second version number