Files
OpenFOAM-12/bin
Will Bainbridge d9103613a9 bin/tools: Added version number comparison script
This script allows version numbers to be compared. It is called in the
following way:

    foamVersionCompare <version-1> <comparison> <version-2>

The <comparison> argument can be one of; eq (equal-to), lt (less-than),
gt (greater-than), le (less-than-or-equal-to), or ge
(greater-than-or-equal-to). The script returns a successful exit code if
the comparison evaluates as true.

Example usage:

    if $WM_PROJECT_DIR/bin/tools/foamVersionCompare 5.4.3 gt 5.5.1
    then
        echo "5.4.3 IS greater than 5.5.1"
    else
        echo "5.4.3 is NOT greater than 5.5.1"
    fi
2020-04-14 09:24:55 +01:00
..
2018-07-05 10:25:51 +01:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2018-07-05 10:25:51 +01:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2018-07-12 18:15:50 +01:00
2019-10-17 18:45:53 +01:00
2018-07-04 17:39:36 +01:00