Age | Commit message (Collapse) | Author | Files | Lines |
|
in /bin/grep, others in /usr/xpg4/bin/grep. Since we don't have access
to pkgsrc's variables, rely on grep(1) being in the PATH.
Noted by Roland Illig on tech-pkg.
|
|
|
|
pkglocate now works with description and PLIST files in the package's
main directory.
|
|
|
|
otherwise, pkg_info is not found
|
|
directories are empty, and may get pruned by "cvs [checkout|update]
-P" - check for a category Makefile to work out whether a directory
houses a category, or is some other part of the infrastructure.
|
|
installed. Otherwise fall back to grep(1), in which case approximate
matching (-p) won't work.
|
|
|
|
the package description files, using approximate matching.
# Locate words in description, or files in the PLISTs
#
# [-i] == ignore case when searching
# [-f] == look for a file, rather than a word or phrase
# [-p] == use approximate matching
# [-v] == be verbose
#
# Usage: pkglocate [-i] [-p] [-f] [-v] word
|