source: clfs-sysroot/BOOK/final-system/common/grep.xml@ ad74173

Last change on this file since ad74173 was c439b8a, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated CLFS-Sysroot book sources to use DocBook-XML DTD 4.5.

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]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
[cee2ca2]30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/usr --bindir=/bin --disable-perl-regexp</userinput></screen>
[02095ae]32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">Install the package:</para>
38
[586feb7]39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]40
41 </sect2>
42
43 <sect2 id="contents-grep" role="content">
44 <title>Contents of Grep</title>
45
46 <segmentedlist>
47 <segtitle>Installed programs</segtitle>
48
49 <seglistitem>
50 <seg>egrep (link to grep), fgrep (link to grep), and grep</seg>
51 </seglistitem>
52 </segmentedlist>
53
54 <variablelist>
55 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
56 <?dbfo list-presentation="list"?>
57 <?dbhtml list-presentation="table"?>
58
59 <varlistentry id="egrep">
60 <term><command>egrep</command></term>
61 <listitem>
62 <para>Prints lines matching an extended regular expression</para>
63 <indexterm zone="ch-system-grep egrep">
64 <primary sortas="b-egrep">egrep</primary>
65 </indexterm>
66 </listitem>
67 </varlistentry>
68
69 <varlistentry id="fgrep">
70 <term><command>fgrep</command></term>
71 <listitem>
72 <para>Prints lines matching a list of fixed strings</para>
73 <indexterm zone="ch-system-grep fgrep">
74 <primary sortas="b-fgrep">fgrep</primary>
75 </indexterm>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry id="grep">
80 <term><command>grep</command></term>
81 <listitem>
82 <para>Prints lines matching a basic regular expression</para>
83 <indexterm zone="ch-system-grep grep">
84 <primary sortas="b-grep">grep</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
89 </variablelist>
90
91 </sect2>
92
93</sect1>
Note: See TracBrowser for help on using the repository browser.