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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a28f18d was 318408a, checked in by Jim Gifford <clfs@…>, 16 years ago

Added Internationalization Patch to Grep

  • 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 --prefix=/usr --bindir=/bin</userinput></screen>
35
36 <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">To test the results, issue:
41 <userinput>make check</userinput>.</para>
42
43 <para os="f">Install the package:</para>
44
45<screen os="g"><userinput>make 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, fgrep, 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.