pkg_check-version1
Verify parsing and ordering of package names
Usage
pkg_check-version [-Hv]
pkgname ...
Overview
pkg_check-version takes a list of pkgname and processes them.
-
each name is parsed and checked for issues.
-
in addition, comparable names (same stem and same flavor) are sorted from older to newer version.
Options are as follows:
-
-H -
displays a human-readable version of each pkgname (full version parsing, including known suffixes, dewey numbers parsing, REVISION, EPOCH, flavor markers).
-
-v -
verbose mode, which will explicitly state pkgname with no issues and sort one element lists.
Exit status
The pkg_check-version utility exits with 0, unless one of the pkgname was malformed, or two names are actually non comparable( such as ‘moo-1.23pre1’ and ‘moo-1.23rc1’).
Releases
13 releases since OpenBSD 6.9; the text changed 1 time.