diff options
author | Luca Bruno <lethalman88@gmail.com> | 2008-10-05 09:11:57 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2008-10-05 09:11:57 +0200 |
commit | 696268f76d9ac92a137e93687a257305d00da43b (patch) | |
tree | 249037f19ea082a127fb0dfe34c9af4566fd8e19 /doc/apt-cache.8.xml | |
parent | 800c34cb7bf7478391f1c75c96c443bb40e20a22 (diff) |
* doc/apt-cache.8.xml:
- search command uses POSIX regex, and searches for virtual packages too
(closes: #277536)
Diffstat (limited to 'doc/apt-cache.8.xml')
-rw-r--r-- | doc/apt-cache.8.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/apt-cache.8.xml b/doc/apt-cache.8.xml index c1e65332d..7ba004623 100644 --- a/doc/apt-cache.8.xml +++ b/doc/apt-cache.8.xml @@ -197,9 +197,14 @@ Reverse Provides: <varlistentry><term>search <replaceable>regex [ regex ... ]</replaceable></term> <listitem><para><literal>search</literal> performs a full text search on all available package - lists for the regex pattern given. It searches the package names and the + lists for the POSIX regex pattern given, see + <refentrytitle><command>regex</command></refentrytitle> + <manvolnum>7</manvolnum>. + It searches the package names and the descriptions for an occurrence of the regular expression and prints out - the package name and the short description. If <option>--full</option> is given + the package name and the short description, including virtual package + names. + If <option>--full</option> is given then output identical to <literal>show</literal> is produced for each matched package, and if <option>--names-only</option> is given then the long description is not searched, only the package name is.</para> |