This file is indexed.

/usr/share/doc/aptitude/html/cs/ch02s03s02.html is in aptitude-doc-cs 0.6.8.2-1ubuntu4.

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
56
57
58
59
60
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Zkrácená forma vyhledávacích termů</title><link rel="stylesheet" type="text/css" href="aptitude.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="aptitude - příručka uživatele"><link rel="up" href="ch02s03.html" title="Vyhledávací vzory"><link rel="prev" href="ch02s03s01.html" title="Hledání řetězců"><link rel="next" href="ch02s03s03.html" title="Hledání a verze balíků"><link rel="preface" href="pr01.html" title="Úvod"><link rel="chapter" href="ch01.html" title="Kapitola 1. Začínáme"><link rel="chapter" href="ch02.html" title="Kapitola 2. aptitude - referenční příručka"><link rel="chapter" href="ch03.html" title="Kapitola 3. Často kladené otázky"><link rel="chapter" href="ch04.html" title="Kapitola 4. Poděkování"><link rel="reference" href="rn01.html" title="Přehled příkazů"><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 bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Zkrácená forma vyhledávacích termů</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s03s01.html"><img src="images/prev.gif" alt="Předcházející"></a> </td><th width="60%" align="center">Vyhledávací vzory</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03s03.html"><img src="images/next.gif" alt="Další"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="secSearchShorthand"></a>Zkrácená forma vyhledávacích termů</h3></div></div></div><p>

Některé vyhledávací termy mohou být zapsány zkrácenou formou, která se
skládá z vlnky (<span class="quote"><span class="quote"><code class="literal">~</code></span></span>) následované
znakem určujícím term a případnými argumenty termu. Například zkrácená
forma <code class="literal"><code class="literal"><a class="link" href="ch02s03s05.html#searchTermName">?name</a></code>(aptitude)</code> je
<code class="literal">~naptitude</code> (hledá balíky, které mají ve svém názvu
řetězec <code class="literal">aptitude</code>).

</p><p>

Při zápisu termů pomocí jejich zkrácené formy slouží vlnky a
tzv. <span class="quote"><span class="quote">bílé znaky</span></span> (mezery, tabulátory a pod.)
k oddělování jednotlivých termů. Například <span class="quote"><span class="quote"><code class="literal">~mDaniel
Burrows</code></span></span> se bude shodovat s libovolným balíkem, jehož
pole Maintainer (správce) obsahuje řetězec
<span class="quote"><span class="quote"><code class="literal">Daniel</code></span></span> a zároveň jméno balíku
obsahuje řetězec <span class="quote"><span class="quote"><code class="literal">Burrows</code></span></span>. Oproti
tomu <span class="quote"><span class="quote"><code class="literal">~i~napt</code></span></span> se shoduje se všemi
nainstalovanými balíky, jejichž jméno obsahuje řetězec
<code class="literal">apt</code>. Chcete-li do hledání zahrnout bílé (nebo jiné
speciální) znaky, můžete před ně vložit vlnku (např. <code class="literal">Daniel~
Burrows</code>), nebo term obklopit uvozovkami (jako
třeba <code class="literal">"Projekt Debian"</code>). Dokonce je možná i
varianta (<code class="literal">Projekt" "Debian</code>). Uvnitř termu v
uvozovkách můžete pro zrušení speciálního významu uvozovek použít
zpětné lomítko (<span class="quote"><span class="quote">\</span></span>). Například
<code class="literal">~d"\"email"</code><span class="phrase">"</span>
se bude shodovat s balíky, jejichž
popis obsahuje uvozovku bezprostředně následovanou řetězcem
<code class="literal">email</code><a href="#ftn.idp25348868" class="footnote" name="idp25348868"><sup class="footnote">[13]</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="[Poznámka]" src="images/note.png"></td><th align="left">Poznámka</th></tr><tr><td align="left" valign="top"><p>

Otazníky (<span class="quote"><span class="quote"><code class="literal">?</code></span></span>)
<span class="emphasis"><em>neukončí</em></span> krátkou verzi termu, ani když je
následuje jméno termu. Například
<span class="quote"><span class="quote"><code class="literal">~napt?priority(required)</code></span></span> bude hledat
všechny balíky, jejichž jméno odpovídá regulárnímu výrazu
<span class="quote"><span class="quote"><code class="literal">apt?priority(required)</code></span></span> (namísto
očekávaného seznamu balíků, jejichž jméno obsahuje řetězec
<code class="literal">apt</code> a mají prioritu <span class="quote"><span class="quote">vyžadovaný</span></span>).
Chcete-li zkombinovat krátkou formu termu s termem zadaným jménem,
přidejte mezi termy jednu nebo více mezer:
<span class="quote"><span class="quote"><code class="literal">~napt ?priority(required)</code></span></span>.
Další možností je přidat uvozovky okolo textu za krátkou formou termu:
<span class="quote"><span class="quote"><code class="literal">~n"apt"?priority(required)</code></span></span>.

</p></td></tr></table></div><p>

Tabulka <a class="xref" href="ch02s03s05.html#tableSearchTermQuickGuide" title="Tabulka 2.1. Rychlý průvodce vyhledávacími termy">2.1 – „Rychlý průvodce vyhledávacími termy“</a> uvádí všechny
zkrácené formy vyhledávacích termů.

</p><div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.idp25348868" class="footnote"><p><a href="#idp25348868" class="para"><sup class="para">[13] </sup></a>

Zpětné lomítko se dá použít také pro speciální sekvence
<code class="literal">\\</code>, <code class="literal">\n</code> a <code class="literal">\t</code>.

</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03s01.html"><img src="images/prev.gif" alt="Předcházející"></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s03.html"><img src="images/up.gif" alt="Nahoru"></a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03s03.html"><img src="images/next.gif" alt="Další"></a></td></tr><tr><td width="40%" align="left" valign="top">Hledání řetězců </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Domů"></a></td><td width="40%" align="right" valign="top"> Hledání a verze balíků</td></tr></table></div></body></html>