1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
6 <sect1 id="ch-system-grep" xreflabel="Grep">
7 <title>Grep-&grep-version;</title>
8 <?dbhtml filename="grep.html"?>
10 <indexterm zone="ch-system-grep"><primary sortas="a-Grep">Grep</primary></indexterm>
12 <para>The Grep package contains programs for searching through files.</para>
14 <screen>&buildtime; 0.1 SBU
15 &diskspace; 5.8 MB</screen>
17 <para>Grep installation depends on: Bash, Binutils, Coreutils,
18 Diffutils, GCC, Gettext, Glibc, Make, Sed, Texinfo.</para>
23 <title>Installation of Grep</title>
25 <para>Prepare Grep for compilation:</para>
27 <screen><userinput>./configure --prefix=/usr --bindir=/bin --with-included-regex</userinput></screen>
29 <para>Compile the package:</para>
31 <screen><userinput>make</userinput></screen>
33 <para>To test the results, issue:
34 <userinput>make check</userinput>.</para>
36 <para>Now install the package:</para>
38 <screen><userinput>make install</userinput></screen>
43 <sect2 id="contents-grep"><title>Contents of Grep</title>
45 <para><emphasis>Installed programs</emphasis>: egrep (link to grep), fgrep
46 (link to grep) and grep</para>
51 <sect2><title>Short descriptions</title>
53 <indexterm zone="ch-system-grep egrep"><primary sortas="b-egrep">egrep</primary></indexterm>
54 <para id="egrep"><command>egrep</command> prints lines matching an extended regular
57 <indexterm zone="ch-system-grep fgrep"><primary sortas="b-fgrep">fgrep</primary></indexterm>
58 <para id="fgrep"><command>fgrep</command> prints lines matching a list of fixed
61 <indexterm zone="ch-system-grep grep"><primary sortas="b-grep">grep</primary></indexterm>
62 <para id="grep"><command>grep</command> prints lines matching a basic regular