PKG_DIGGER_INSTALLED(1)

NAME
pkg_digger_installed - pkg_digger backend for search in installed packages

SYNOPSIS
pkg_digger_installed -h
pkg_digger_installed -f
pkg_digger_installed -s
pkg_digger_installed [-n limit] f:s:q1 [f:s:q2 ...]
pkg_digger_installed -1|-3-9|-i [-q] pkgid1 [pkgid2 ...]

DESCRIPTION
pkg_digger_installed is a backend for pkg_digger(1) searching in installed packages. First, summary file specified by PKG_DIGGER_SUMMARY environment variable is created or updated if necessary, and then the search is performed. pkgid has PKGPATH,PKGBASE format. If it is specified, summary for the specified package is output. f:s:q is a field to search in, search strategy and query. If it is specified, found pkgids are outputs.

OPTIONS

-h  Display help message.

-s  Output supported search strategies, for example, exact, suffix, prefix, substring and others. Supported search strategies are documented in pkg_grep_summary.

-f  Output supported fields to search in, for example, PKGPATH, PKGBASE, COMMENT, DESCRIPTION and others.

-1  Only PKGPATH, PKGNAME (if needed) and COMMENT are output (oneline format).

-3  Only basic fields are output, i.e. PKGNAME, PKGPATH, COMMENT, DESCRIPTION and some others.

-9|-i
    All available fields are output.

-q  Quiet mode, do not print "No matches found" to stderr

-n limit
    Maximum number of returned matches.

ENVIRONMENT

PKG_DIGGER_SUMMARY
    Summary file to work with.

EXAMPLES
# export PKG_DIGGER_SUMMARY=/var/tmp/pkg_installed.txt # pkg_digger_installed SIZE_PKG:awk:'fvalue+0 > 100000000' fonts/intlfonts,intlfonts www/webkit-gtk,webkit-gtk lang/gcc46,gcc46 lang/gcc44,gcc44 lang/clang,clang emulators/suse100_32_locale,suse32_locale x11/qt4-libs,qt4-libs lang/gcc34,gcc34 lang/openjdk7,openjdk7 print/acroread9,acroread9 devel/scmgit-base,scmgit-base lang/ocaml,ocaml # pkg_digger_installed -3 www/webkit-gtk,webkit-gtk PKGNAME=webkit-gtk-1.8.3nb2 COMMENT=GTK2 port of the WebKit browser engine CATEGORIES=www HOMEPAGE=http://www.webkitgtk.org/ PKGPATH=www/webkit-gtk DESCRIPTION=WebKit is an open source web browser engine. WebKit is also the name of DESCRIPTION=the Mac OS X system framework version of the engine that's used by DESCRIPTION=Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML DESCRIPTION=and JavaScript code began as a branch of the KHTML and KJS libraries DESCRIPTION=from KDE. DESCRIPTION= DESCRIPTION=This is the GTK2+ port of the engine. DESCRIPTION= DESCRIPTION=Homepage: DESCRIPTION=http://www.webkitgtk.org/ # pkg_digger_installed DEPENDS:substring:webkit-gtk www/midori,midori #

SEE ALSO
pkg_summary-utils(7), pkg_summary(5), pkg_grep_summary(1), pkg_digger(1)

AUTHOR
Aleksey Cheusov <vle@gmx.net>