Rev 1267 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
591 | gleu | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
2 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
||
475 | gleu | 3 | <!ENTITY % general-entities SYSTEM "../general.ent"> |
4 | %general-entities; |
||
5 | ]> |
||
591 | gleu | 6 | |
523 | gleu | 7 | <sect1 id="ch-system-grep" role="wrap"> |
591 | gleu | 8 | <?dbhtml filename="grep.html"?> |
475 | gleu | 9 | |
602 | texou | 10 | <sect1info condition="script"> |
11 | <productname>grep</productname> |
||
12 | <productnumber>&grep-version;</productnumber> |
||
13 | <address>&grep-url;</address> |
||
14 | </sect1info> |
||
15 | |||
591 | gleu | 16 | <title>Grep-&grep-version;</title> |
475 | gleu | 17 | |
591 | gleu | 18 | <indexterm zone="ch-system-grep"> |
19 | <primary sortas="a-Grep">Grep</primary> |
||
20 | </indexterm> |
||
475 | gleu | 21 | |
591 | gleu | 22 | <sect2 role="package"> |
23 | <title/> |
||
475 | gleu | 24 | |
4004 | myou72 | 25 | <para>Le paquet Grep contient des programmes de recherche à l'intérieur de fichiers.</para> |
475 | gleu | 26 | |
591 | gleu | 27 | <segmentedlist> |
28 | <segtitle>&buildtime;</segtitle> |
||
29 | <segtitle>&diskspace;</segtitle> |
||
475 | gleu | 30 | |
591 | gleu | 31 | <seglistitem> |
32 | <seg>&grep-ch6-sbu;</seg> |
||
33 | <seg>&grep-ch6-du;</seg> |
||
34 | </seglistitem> |
||
35 | </segmentedlist> |
||
475 | gleu | 36 | |
591 | gleu | 37 | </sect2> |
38 | |||
39 | <sect2 role="installation"> |
||
40 | <title>Installation de Grep</title> |
||
41 | |||
4004 | myou72 | 42 | <para>Préparez la compilation de Grep :</para> |
591 | gleu | 43 | |
707 | texou | 44 | <screen><userinput remap="configure">./configure --prefix=/usr \ |
1146 | jmengual | 45 | --bindir=/bin</userinput></screen> |
475 | gleu | 46 | |
591 | gleu | 47 | <para>Compilez le paquet :</para> |
475 | gleu | 48 | |
602 | texou | 49 | <screen><userinput remap="make">make</userinput></screen> |
475 | gleu | 50 | |
4004 | myou72 | 51 | <para>Pour tester les résultats, lancez :</para> |
475 | gleu | 52 | |
1146 | jmengual | 53 | <screen><userinput remap="test">make check</userinput></screen> |
475 | gleu | 54 | |
591 | gleu | 55 | <para>Installez le paquet :</para> |
56 | |||
602 | texou | 57 | <screen><userinput remap="install">make install</userinput></screen> |
475 | gleu | 58 | |
591 | gleu | 59 | </sect2> |
475 | gleu | 60 | |
591 | gleu | 61 | <sect2 id="contents-grep" role="content"> |
62 | <title>Contenu de Grep</title> |
||
475 | gleu | 63 | |
591 | gleu | 64 | <segmentedlist> |
4004 | myou72 | 65 | <segtitle>Programmes installés</segtitle> |
475 | gleu | 66 | |
591 | gleu | 67 | <seglistitem> |
68 | <seg>egrep, fgrep et grep</seg> |
||
69 | </seglistitem> |
||
70 | </segmentedlist> |
||
475 | gleu | 71 | |
591 | gleu | 72 | <variablelist> |
73 | <bridgehead renderas="sect3">Descriptions courtes</bridgehead> |
||
74 | <?dbfo list-presentation="list"?> |
||
75 | <?dbhtml list-presentation="table"?> |
||
475 | gleu | 76 | |
591 | gleu | 77 | <varlistentry id="egrep"> |
78 | <term><command>egrep</command></term> |
||
79 | <listitem> |
||
4004 | myou72 | 80 | <para>Affiche les lignes correspondant à une expression rationnelle étendue</para> |
591 | gleu | 81 | <indexterm zone="ch-system-grep egrep"> |
82 | <primary sortas="b-egrep">egrep</primary> |
||
83 | </indexterm> |
||
84 | </listitem> |
||
85 | </varlistentry> |
||
475 | gleu | 86 | |
591 | gleu | 87 | <varlistentry id="fgrep"> |
88 | <term><command>fgrep</command></term> |
||
89 | <listitem> |
||
4004 | myou72 | 90 | <para>Affiche des lignes correspondant à une liste de chaînes fixes</para> |
591 | gleu | 91 | <indexterm zone="ch-system-grep fgrep"> |
92 | <primary sortas="b-fgrep">fgrep</primary> |
||
93 | </indexterm> |
||
94 | </listitem> |
||
95 | </varlistentry> |
||
475 | gleu | 96 | |
591 | gleu | 97 | <varlistentry id="grep"> |
98 | <term><command>grep</command></term> |
||
99 | <listitem> |
||
4004 | myou72 | 100 | <para>Affiche des lignes correspondant à une expression rationnelle |
591 | gleu | 101 | basique</para> |
102 | <indexterm zone="ch-system-grep grep"> |
||
103 | <primary sortas="b-grep">grep</primary> |
||
104 | </indexterm> |
||
105 | </listitem> |
||
106 | </varlistentry> |
||
475 | gleu | 107 | |
591 | gleu | 108 | </variablelist> |
109 | |||
110 | </sect2> |
||
111 | |||
475 | gleu | 112 | </sect1> |