OpenBSD manual page server

Manual Page Search Parameters

PKG_CHECK-VERSION(1) General Commands Manual PKG_CHECK-VERSION(1)

pkg_check-versionverify parsing and ordering of package names

pkg_check-version [-Hv] pkgname ...

pkg_check-version takes a list of pkgname and processes them.

Options are as follows:

displays a human-readable version of each pkgname (full version parsing, including known suffixes, dewey numbers parsing, REVISION, EPOCH, flavor markers).
verbose mode, which will explicitly state pkgname with no issues and sort one element lists.

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’).

packages-specs(7)

Marc Espie <espie@openbsd.org>

April 19, 2022 OpenBSD-current