semver

Semantic version string parser.
More information.
semver {1.2}
semver --coerce {1.2}
semver {1.2.3} --range "{^1.0}"
semver {1.2.3} --range {">=1.0"} {"<2.0"}
semver {1.2.3} {2.0.0} --range "{^1.0}"
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY