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

sysvinit
Last change on this file since 182b152 was c2102b28, checked in by Chris Staub <chris@…>, 10 years ago

Improve consistency in package installation lists, mainly removing 'and'

Conflicts:

BOOK/final-system/common/attr.xml

  • 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 --prefix=/usr --bindir=/bin</userinput></screen>
31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">To test the results, issue:</para>
37
38<screen os="e2"><userinput remap="test">make check</userinput></screen>
39
40 <para os="f">Install the package:</para>
41
42<screen os="g"><userinput>make install</userinput></screen>
43
44 </sect2>
45
46 <sect2 id="contents-grep" role="content">
47 <title>Contents of Grep</title>
48
49 <segmentedlist>
50 <segtitle>Installed programs</segtitle>
51
52 <seglistitem>
53 <seg>egrep, fgrep, grep</seg>
54 </seglistitem>
55 </segmentedlist>
56
57 <variablelist>
58 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
59 <?dbfo list-presentation="list"?>
60 <?dbhtml list-presentation="table"?>
61
62 <varlistentry id="egrep">
63 <term><command>egrep</command></term>
64 <listitem>
65 <para>Prints lines matching an extended regular expression</para>
66 <indexterm zone="ch-system-grep egrep">
67 <primary sortas="b-egrep">egrep</primary>
68 </indexterm>
69 </listitem>
70 </varlistentry>
71
72 <varlistentry id="fgrep">
73 <term><command>fgrep</command></term>
74 <listitem>
75 <para>Prints lines matching a list of fixed strings</para>
76 <indexterm zone="ch-system-grep fgrep">
77 <primary sortas="b-fgrep">fgrep</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry id="grep">
83 <term><command>grep</command></term>
84 <listitem>
85 <para>Prints lines matching a basic regular expression</para>
86 <indexterm zone="ch-system-grep grep">
87 <primary sortas="b-grep">grep</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 </variablelist>
93
94 </sect2>
95
96</sect1>
Note: See TracBrowser for help on using the repository browser.