Commit graph

7 commits

Author SHA1 Message Date
agc
b239d597cb Apply mods from PR 14495, from Ryo HAYASAKA (ryoh@jaist.ac.jp), so that
pkglocate now works with description and PLIST files in the package's
main directory.
2001-11-07 22:11:13 +00:00
agc
f9ead3743b Update the usage message to explain what each option letter does. 2001-04-03 09:28:32 +00:00
drochner
0c9ba2dcc4 put /usr/sbin into PATH in case user doesn't
otherwise, pkg_info is not found
2001-03-08 11:46:52 +00:00
agc
a41926ecac Adapt to the new COMMENT style, which will mean that <category>/pkg
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.
2001-02-16 14:00:00 +00:00
agc
957ef127a2 Modify pkglocate to only use agrep if the glimpse package is
installed.  Otherwise fall back to grep(1), in which case approximate
matching (-p) won't work.
2001-02-13 08:18:44 +00:00
jdolecek
6ad47bc6f1 fix to really exit if glimpse is not installed 2000-04-11 16:59:17 +00:00
agc
1ae3b11d04 Add a small shell script to locate words in either the PLIST files or
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
2000-02-21 12:38:54 +00:00