PKG-VERSION(8)

NAME
pkg version - summarize installed versions of packages

SYNOPSIS
pkg version [-hIoqv] [-l limchar] [-L limchar] [ [-X] -s string] [-O origin] [index]
pkg version -t version1
pkg version -T <pkgname> <pattern>

DESCRIPTION
pkg version is used for generating a report of packages installed by pkg(8).

< To be completed >

OPTIONS
The following options are supported by pkg version:

-h  Displays usage information

-I  Use INDEX file for determining if a package is out of date

-o  Display package origin, instead of package name.

-q  Be quiet. Less output will be produced.

-v  Be verbose.

-l limchar
    Display only the packages which status flag matches the one specified by limchar

-L limchar
    Does the opposite of -l flag. Displays the packages which status flag does not match the one specified by limchar

-X  Treat string as an extended regular expression.

-s string
    Only display the packages that match string

-O origin
    Display only the packages which origin matches origin

-t <version1> <version2>
    < To be added >

-T <pkgname> <pattern>
    Compare <pkgname> against shell glob <pattern> and set exit code accordingly. -T can also be used in `filter mode': When one of the arguments is `-', standard input is used, and lines with matching package names/patterns are echoed to standard output.

ENVIRONMENT
The following environment variables affect the execution of pkg version. See pkg.conf(5) for further description.

PKG_DBDIR

PORTSDIR

FILES
See pkg.conf(5).

SEE ALSO
pkg(8), pkg-add(8), pkg-autoremove(8), pkg-search(8), pkg-backup(8), pkg-install(8), pkg-delete(8), pkg-info(8), pkg-register(8), pkg-repo(8), pkg-set(8,) pkg-update(8), pkg-updating(8), pkg-upgrade(8), pkg-create(8), pkg-which(8), pkg.conf(5)