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

Last change on this file since d6fc20a was 209436e, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Add grep i18n patch.

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