diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-04 17:37:24 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-04 17:41:30 +0100 |
commit | c3d656bcbc6d7eff04c250eb3be8dbfc0264da5c (patch) | |
tree | 914278418ff92f4a7c137da35c68d8180b6fd058 /doc | |
parent | 3ee6fdc08a91ef65e5a69f8857de3bf86a8fe1ad (diff) |
apt-patterns(7): Document | operator, (), and add an example
Missed that in pu/short-patterns.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt-patterns.7.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 6fa945058..297b04cf5 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -52,12 +52,15 @@ <varlistentry><term><code>?not(PATTERN)</code></term><term><code>!PATTERN</code></term> <listitem><para>Selects objects where PATTERN does not match.</para></listitem> </varlistentry> - <varlistentry><term><code>?or(PATTERN, PATTERN, ...)</code></term> + <varlistentry><term><code>?or(PATTERN, PATTERN, ...)</code></term><term><code>PATTERN | PATTERN | ...</code></term> <listitem><para>Selects objects where at least one of the specified patterns match.</para></listitem> </varlistentry> <varlistentry><term><code>?true</code></term><term><code>~T</code></term> <listitem><para>Selects all objects.</para></listitem> </varlistentry> + <varlistentry><term><code>(PATTERN)</code></term> + <listitem><para>Selects the same as <code>PATTERN</code>, can be used to work around precedence, for example, <code>(~ramd64|~ri386)~nfoo</code></para></listitem> + </varlistentry> </variablelist> </refsect1> <refsect1> @@ -159,6 +162,9 @@ <varlistentry><term><code>apt purge ?config-files</code></term> <listitem><para>Purge all packages that only have configuration files left</para></listitem> </varlistentry> + <varlistentry><term><code>apt list '~i !~M (~slibs|~sperl|~spython)'</code></term> + <listitem><para>List all manually-installed packages in sections matching libs, perl, or python.</para></listitem> + </varlistentry> </variablelist> </refsect1> |