This file is indexed.

/usr/share/doc/aptitude/html/en/ch02s04s02.html is in aptitude-doc-en 0.8.10-6ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Shorthand for search terms</title><link rel="stylesheet" type="text/css" href="aptitude.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="aptitude user's manual" /><link rel="up" href="ch02s04.html" title="Search patterns" /><link rel="prev" href="ch02s04s01.html" title="Searching for strings" /><link rel="next" href="ch02s04s03.html" title="Searches and versions" /><link rel="preface" href="pr01.html" title="Introduction" /><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started" /><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide" /><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions" /><link rel="chapter" href="ch04.html" title="Chapter 4. Credits" /><link rel="reference" href="rn01.html" title="Command-line reference" /><link rel="refentry" href="rn01re01.html" title="aptitude" /><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle" /><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Shorthand for search terms</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s04s01.html"><img src="images/prev.gif" alt="Prev" /></a> </td><th width="60%" align="center">Search patterns</th><td width="20%" align="right"> <a accesskey="n" href="ch02s04s03.html"><img src="images/next.gif" alt="Next" /></a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="secSearchShorthand"></a>Shorthand for search terms</h3></div></div></div><p>
	  Some search terms can be written using <span class="quote"><span class="quote">short</span></span>
	  forms, which consist of a tilde
	  (<span class="quote"><span class="quote"><code class="literal">~</code></span></span>) followed by a single
	  character that identifies the term, and finally the
	  arguments (if any) to the term.  For instance, the short
	  form of <code class="literal"><code class="literal"><a class="link" href="ch02s04s05.html#searchTermName">?name</a></code>(aptitude)</code> is <code class="literal">~n
	  aptitude</code>.
	</p><p>
	  When writing a term using its short form, tilde characters
	  and <span class="quote"><span class="quote">whitespace</span></span> -- that is, space characters,
	  tabs, and so on -- will break the term off and start a new
	  term.  For instance, <span class="quote"><span class="quote"><code class="literal">~mDaniel
	  Burrows</code></span></span> will match any package whose
	  maintainer field contains
	  <span class="quote"><span class="quote"><code class="literal">Daniel</code></span></span> and whose name
	  contains <span class="quote"><span class="quote"><code class="literal">Burrows</code></span></span>, while
	  <span class="quote"><span class="quote"><code class="literal">~i~napt</code></span></span> matches installed
	  packages whose name contains <code class="literal">apt</code>.  To
	  include whitespace characters in the search expression, you
	  can either place a tilde in front of it (as in
	  <code class="literal">Daniel~ Burrows</code>) or place quotation marks
	  around it (as in <code class="literal">"Debian Project"</code> or even
	  <code class="literal">Debian" "Project</code>).  Inside a quoted
	  string, the backslash character (<span class="quote"><span class="quote">\</span></span>) can be
	  used to cancel the special meaning of the quotation mark:
	  for instance, <code class="literal">~d"\"email"</code> will match any
	  package whose description contains a quotation mark followed
	  immediately by <code class="literal">email</code>.
	  <a href="#ftn.idm2709" class="footnote" id="idm2709"><sup class="footnote">[16]</sup></a>
	</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png" /></td><th align="left">Note</th></tr><tr><td align="left" valign="top"><p>
	    Question marks (<span class="quote"><span class="quote"><code class="literal">?</code></span></span>) will
	    <span class="emphasis"><em>not</em></span> end the short form of a term,
	    even if they are followed by the name of a search term.
	    For instance,
	    <span class="quote"><span class="quote"><code class="literal">~napt?priority(required)</code></span></span>
	    will match all packages whose name matches the regular
	    expression
	    <span class="quote"><span class="quote"><code class="literal">apt?priority(required)</code></span></span>.
	    To combine a short query term with a search term specified
	    by name, add one or more spaces between the two terms, as
	    in
	    <span class="quote"><span class="quote"><code class="literal">~napt ?priority(required)</code></span></span>,
	    or place quotation marks around the text (if any)
	    following the short form of a term, as in
	    <span class="quote"><span class="quote"><code class="literal">~n"apt"?priority(required)</code></span></span>.
	  </p></td></tr></table></div><p>
	  <a class="xref" href="ch02s04s05.html#tableSearchTermQuickGuide" title="Table 2.3. Quick guide to search terms">Table 2.3, “Quick guide to search terms”</a> lists the short
	  form of each search term.
	</p><div class="footnotes"><br /><hr style="width:100; text-align:left;margin-left: 0" /><div id="ftn.idm2709" class="footnote"><p><a href="#idm2709" class="para"><sup class="para">[16] </sup></a>
	      The backslash escapes <code class="literal">\\</code>,
	      <code class="literal">\n</code>, and <code class="literal">\t</code> are also
	      available.
	    </p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s04s01.html"><img src="images/prev.gif" alt="Prev" /></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s04.html"><img src="images/up.gif" alt="Up" /></a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s04s03.html"><img src="images/next.gif" alt="Next" /></a></td></tr><tr><td width="40%" align="left" valign="top">Searching for strings </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home" /></a></td><td width="40%" align="right" valign="top"> Searches and versions</td></tr></table></div></body></html>