summaryrefslogtreecommitdiff
path: root/pkglocate
AgeCommit message (Collapse)AuthorFilesLines
2004-07-04Not all OS have grep(1) in /usr/bin/grep, some have it in /sbin/grep, somejschauma1-2/+2
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.
2003-05-31Use "printf" instead of "echo -n" because it's more portable.jmmv1-3/+3
2001-11-07Apply mods from PR 14495, from Ryo HAYASAKA (ryoh@jaist.ac.jp), so thatagc1-3/+3
pkglocate now works with description and PLIST files in the package's main directory.
2001-04-03Update the usage message to explain what each option letter does.agc1-6/+14
2001-03-08put /usr/sbin into PATH in case user doesn'tdrochner1-1/+3
otherwise, pkg_info is not found
2001-02-16Adapt to the new COMMENT style, which will mean that <category>/pkgagc1-2/+2
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-13Modify pkglocate to only use agrep if the glimpse package isagc1-5/+12
installed. Otherwise fall back to grep(1), in which case approximate matching (-p) won't work.
2000-04-11fix to really exit if glimpse is not installedjdolecek1-2/+2
2000-02-21Add a small shell script to locate words in either the PLIST files oragc1-0/+84
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