diff options
author | marko <marko@FreeBSD.org> | 2000-08-28 19:37:23 +0800 |
---|---|---|
committer | marko <marko@FreeBSD.org> | 2000-08-28 19:37:23 +0800 |
commit | 03ca2e452869eb99f750f71b73bff4e005eb0fae (patch) | |
tree | 16b5391e1a9d940c7cc2ffbc4f65a4e6d406f7cd /Tools/scripts/README | |
parent | 5c5d5f3746468c245489fc6cf9e3d9872a8af442 (diff) | |
download | freebsd-ports-gnome-03ca2e452869eb99f750f71b73bff4e005eb0fae.tar.gz freebsd-ports-gnome-03ca2e452869eb99f750f71b73bff4e005eb0fae.tar.zst freebsd-ports-gnome-03ca2e452869eb99f750f71b73bff4e005eb0fae.zip |
New script (and it's README) for searching the ports tree. Add this script
to the main README.
This was originally submitted as a port but was added to Tools/scripts
instead at alex's suggestion.
PR: 20863
Approved by: alex
Diffstat (limited to 'Tools/scripts/README')
-rw-r--r-- | Tools/scripts/README | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Tools/scripts/README b/Tools/scripts/README index 9c276ea51298..12309f6d16ae 100644 --- a/Tools/scripts/README +++ b/Tools/scripts/README @@ -19,6 +19,9 @@ prpatch - just does `patch $1 < pr-patch' (pr-patch is created by getpr) prdone - checks in the port, attempting to fill out the commit message using information from the problem report and then takes you into edit-pr so you don't forget to close the PR. +portsearch - A utility for searching the ports tree. It allows more detailed + search criteria than ``make search key=<string>'' and accepts + all perl(1) regular expressions. ---------------------------------------------------------------------- @@ -95,6 +98,45 @@ required for correct removal of GNOME shared directories, not for the port functionality, so actual {RUN,LIB}_DEPENDS may have more entries. ---------------------------------------------------------------------- +portsearch - A utility for searching the ports tree. + + portsearch is a utility to for searching of the ports tree. It permits + much more detailed searches to be performed than ``make search + key=<string>'' by allowing you to specify which field(s) to search. It + also supports all valid perl(1) regular expressions for pattern matching. + + portsearch displays matching ports in the same format as ``make search'' + and also displays the number of matching ports found. + + The following command line options are supported: + + -h Prints a multi-line help message and exits + + -n name Search for name in the name field + + -p path Search for path in the path field + + -i info Search for info in the comments field + + -m maint Search for maint in the Maintainer field + + -x index Search for index in the category field + + -b b_deps Search for b_deps in the build-depends field + + -r r_deps Search for r_deps in the run-depends field + + -d deps Search for deps in the both the build and run dependency + fields. This option behaves differently to the other op- + tions, see the EXAMPLES section + + -f file Use the index file file instead of /usr/ports/INDEX + + All searches are case-insensitive + +See the file README.portsearch for further information. + +---------------------------------------------------------------------- NOTE: These scripts need work and are *NOT* safe to use unless you know what they do. Use at your own risk. Patches would be great, but |