GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PSEARCH(1) FreeBSD General Commands Manual PSEARCH(1)

psearch - search the FreeBSD ports

psearch [options] PATTERN [PATTERN ...]

Lists ports whose description matches PATTERN. PATTERN is a case-insensitive regular expression.

If more than one pattern is given, a port description has to match all of them for the port to be listed. If -o is given, a single pattern match suffices instead.

By default, the name and the short description are searched. If -s is given, the long description is searched as well, which slows things down a lot. This can be compensated for by limiting searches to a port category with -c, thus reducing the number of pkg-plist files that need to be searched.

psearch uses IEEE Std 1003.2 (``POSIX.2'') regular expressions as explained by re_format(7).

Show program's version number and exit.
Show a brief help message explaining the options and exit.
Only search for ports in CATEGORY. Speeds up searching, especially when --search_long is also specified.
Path to INDEX file. Defaults to the standard location of the INDEX file on the FreeBSD system that psearch runs on. Non-standard locations given in /etc/make.conf are ignored.
Display the long description (pkg-descr file) for any match found. They are not searched however, unless --search_long is also given.
Display the maintainer's email address instead of the short description for any match found, and switch on searching the maintainer's email address. Specifying this parameter and searching for ports@freebsd.org displays all unmaintained ports.
Print canonical name of a port, including its version.
List ports whose description match any PATTERN, instead of requiring it to match all of them.
Search long descriptions (pkg-descr file), which slows down searching. The long descriptions are not displayed however, unless --long is also given.
Searches for ports that do not match INVERSE_PATTERN. May be specified several times.

re_format(7)

Any relevant values stored in environment variables or /etc/make.conf are ignored. This means that if your INDEX file does not reside in /usr/ports, you'll need to use the -f option when running psearch.

Benjamin Lutz

June 2012 psearch 2.0.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.