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

Last change on this file since 56a80bb was 12e6567, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Added a sysroot wrapper.
Updated the build variables section of the book, each package uses its own.

  • Property mode set to 100644
File size: 2.7 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 &env-target;
26
27 <sect2 role="installation">
28 <title>Installation of Grep</title>
29
30 <para os="p1">This patch adds support for Internationalization:</para>
31
32<screen os="p2"><userinput>patch -Np1 -i ../&grep-i18n-patch;</userinput></screen>
33
34 <para os="a">Prepare Grep for compilation:</para>
35
36<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
37 --prefix=/usr --bindir=/bin --disable-perl-regexp</userinput></screen>
38
39 <para os="c">Compile the package:</para>
40
41<screen os="d"><userinput>make</userinput></screen>
42
43 <para os="e">Install the package:</para>
44
45<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
46
47 </sect2>
48
49 <sect2 id="contents-grep" role="content">
50 <title>Contents of Grep</title>
51
52 <segmentedlist>
53 <segtitle>Installed programs</segtitle>
54
55 <seglistitem>
56 <seg>egrep (link to grep), fgrep (link to grep), and grep</seg>
57 </seglistitem>
58 </segmentedlist>
59
60 <variablelist>
61 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
62 <?dbfo list-presentation="list"?>
63 <?dbhtml list-presentation="table"?>
64
65 <varlistentry id="egrep">
66 <term><command>egrep</command></term>
67 <listitem>
68 <para>Prints lines matching an extended regular expression</para>
69 <indexterm zone="ch-system-grep egrep">
70 <primary sortas="b-egrep">egrep</primary>
71 </indexterm>
72 </listitem>
73 </varlistentry>
74
75 <varlistentry id="fgrep">
76 <term><command>fgrep</command></term>
77 <listitem>
78 <para>Prints lines matching a list of fixed strings</para>
79 <indexterm zone="ch-system-grep fgrep">
80 <primary sortas="b-fgrep">fgrep</primary>
81 </indexterm>
82 </listitem>
83 </varlistentry>
84
85 <varlistentry id="grep">
86 <term><command>grep</command></term>
87 <listitem>
88 <para>Prints lines matching a basic regular expression</para>
89 <indexterm zone="ch-system-grep grep">
90 <primary sortas="b-grep">grep</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 </variablelist>
96
97 </sect2>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.