source: final-system/common/grep.xml@ 158920b

Last change on this file since 158920b was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
28 Glibc, Make, Sed, and Texinfo</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Grep</title>
36
37 <para os="a">Prepare Grep for compilation:</para>
38
39<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <para os="e">To test the results, issue:
46 <userinput>make check</userinput>.</para>
47
48 <para os="f">Install the package:</para>
49
50<screen os="g"><userinput>make install</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-grep" role="content">
55 <title>Contents of Grep</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59
60 <seglistitem>
61 <seg>egrep (link to grep), fgrep (link to grep), and grep</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="egrep">
71 <term><command>egrep</command></term>
72 <listitem>
73 <para>Prints lines matching an extended regular expression</para>
74 <indexterm zone="ch-system-grep egrep">
75 <primary sortas="b-egrep">egrep</primary>
76 </indexterm>
77 </listitem>
78 </varlistentry>
79
80 <varlistentry id="fgrep">
81 <term><command>fgrep</command></term>
82 <listitem>
83 <para>Prints lines matching a list of fixed strings</para>
84 <indexterm zone="ch-system-grep fgrep">
85 <primary sortas="b-fgrep">fgrep</primary>
86 </indexterm>
87 </listitem>
88 </varlistentry>
89
90 <varlistentry id="grep">
91 <term><command>grep</command></term>
92 <listitem>
93 <para>Prints lines matching a basic regular expression</para>
94 <indexterm zone="ch-system-grep grep">
95 <primary sortas="b-grep">grep</primary>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
100 </variablelist>
101
102 </sect2>
103
104</sect1>
Note: See TracBrowser for help on using the repository browser.