source: BOOK/final-system/common/grep.xml@ ce6b8dc

systemd
Last change on this file since ce6b8dc was 43ef6eb, checked in by Chris Staub <chris@…>, 9 years ago

No need for grep security fix

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-grep" role="wrap">
9 <?dbhtml filename="grep.html"?>
10
11 <title>Grep-&grep-version;</title>
12
13 <indexterm zone="ch-system-grep">
14 <primary sortas="a-Grep">Grep</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Grep package contains programs for searching through
21 files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Grep</title>
27
28 <para os="a">Prepare Grep for compilation:</para>
29
30<screen os="b"><userinput>./configure \
31 --prefix=/usr \
32 --bindir=/bin</userinput></screen>
33
34 <para os="c">Compile the package:</para>
35
36<screen os="d"><userinput>make</userinput></screen>
37
38 <para os="e">To test the results, issue:</para>
39
40<screen os="e2"><userinput remap="test">make check</userinput></screen>
41
42 <para os="f">Install the package:</para>
43
44<screen os="g"><userinput>make install</userinput></screen>
45
46 </sect2>
47
48 <sect2 id="contents-grep" role="content">
49 <title>Contents of Grep</title>
50
51 <segmentedlist>
52 <segtitle>Installed programs</segtitle>
53
54 <seglistitem>
55 <seg>egrep, fgrep, grep</seg>
56 </seglistitem>
57 </segmentedlist>
58
59 <variablelist>
60 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
61 <?dbfo list-presentation="list"?>
62 <?dbhtml list-presentation="table"?>
63
64 <varlistentry id="egrep">
65 <term><command>egrep</command></term>
66 <listitem>
67 <para>Prints lines matching an extended regular expression</para>
68 <indexterm zone="ch-system-grep egrep">
69 <primary sortas="b-egrep">egrep</primary>
70 </indexterm>
71 </listitem>
72 </varlistentry>
73
74 <varlistentry id="fgrep">
75 <term><command>fgrep</command></term>
76 <listitem>
77 <para>Prints lines matching a list of fixed strings</para>
78 <indexterm zone="ch-system-grep fgrep">
79 <primary sortas="b-fgrep">fgrep</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry id="grep">
85 <term><command>grep</command></term>
86 <listitem>
87 <para>Prints lines matching a basic regular expression</para>
88 <indexterm zone="ch-system-grep grep">
89 <primary sortas="b-grep">grep</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 </variablelist>
95
96 </sect2>
97
98</sect1>
Note: See TracBrowser for help on using the repository browser.