Node:compare-version, Next:, Previous:add-html-signature, Up:Utility Manual



compare-version

The compare-version script compares two version strings given as arguments and return the result.

	compare-version ver1 ver2
If the ver1 is older than (the number is smaller than) ver2, this script exits with 1. In another case, exit with 0.