source: final-system/common/grep.xml@ 8cb087f

Last change on this file since 8cb087f was 0f06076, checked in by Jim Gifford <clfs@…>, 19 years ago

r3371@server (orig r1554): chris | 2006-05-10 14:03:44 -0700
Removed dependency info from individual package instructions

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