summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2008-10-05 09:11:57 +0200
committerLuca Bruno <lethalman88@gmail.com>2008-10-05 09:11:57 +0200
commit696268f76d9ac92a137e93687a257305d00da43b (patch)
tree249037f19ea082a127fb0dfe34c9af4566fd8e19
parent800c34cb7bf7478391f1c75c96c443bb40e20a22 (diff)
* doc/apt-cache.8.xml:
- search command uses POSIX regex, and searches for virtual packages too (closes: #277536)
-rw-r--r--debian/changelog3
-rw-r--r--doc/apt-cache.8.xml9
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 241766330..8fa4c48d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
apt (0.7.15~exp4) UNRELEASED; urgency=low
[Luca Bruno]
+ * doc/apt-cache.8.xml:
+ - search command uses POSIX regex, and searches for virtual packages too
+ (closes: #277536)
* doc/offline.sgml: clarify remote and target hosts
(thanks to Nikolaus Schulz, closes: #175940)
* Fix several typos in docs, translations and debian/changelog
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>