diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter06/grep.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/grep.xml')
-rw-r--r-- | chapter06/grep.xml | 54 |
1 files changed, 42 insertions, 12 deletions
diff --git a/chapter06/grep.xml b/chapter06/grep.xml index c3754edb0..5e7c5a58a 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -1,16 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> <sect1 id="ch-system-grep" xreflabel="Grep"> -<title>Installing Grep-&grep-version;</title> -<?dbhtml filename="grep.html" dir="chapter06"?> +<title>Grep-&grep-version;</title> +<?dbhtml filename="grep.html"?> + +<indexterm zone="ch-system-grep"><primary sortas="a-Grep">Grep</primary></indexterm> <para>The Grep package contains programs for searching through files.</para> -<screen>&buildtime; &grep-time; -&diskspace; &grep-compsize;</screen> +<screen>&buildtime; 0.1 SBU +&diskspace; 5.8 MB</screen> + +<para>Grep installation depends on: Bash, Binutils, Coreutils, +Diffutils, GCC, Gettext, Glibc, Make, Sed, Texinfo.</para> -&aa-grep-down; -&aa-grep-dep; -<sect2><title> </title><para> </para></sect2> <sect2> <title>Installation of Grep</title> @@ -23,17 +30,40 @@ <screen><userinput>make</userinput></screen> -<para>To have the results tested, issue: +<para>To test the results, issue: <userinput>make check</userinput>.</para> -<para>And install the package:</para> +<para>Now install the package:</para> <screen><userinput>make install</userinput></screen> </sect2> -&aa-grep-shortdesc; -&aa-grep-desc; -</sect1> +<sect2 id="contents-grep"><title>Contents of Grep</title> + +<para><emphasis>Installed programs</emphasis>: egrep (link to grep), fgrep +(link to grep) and grep</para> + +</sect2> + + +<sect2><title>Short descriptions</title> +<indexterm zone="ch-system-grep egrep"><primary sortas="b-egrep">egrep</primary></indexterm> +<para id="egrep"><command>egrep</command> prints lines matching an extended regular +expression.</para> + +<indexterm zone="ch-system-grep fgrep"><primary sortas="b-fgrep">fgrep</primary></indexterm> +<para id="fgrep"><command>fgrep</command> prints lines matching a list of fixed +strings.</para> + +<indexterm zone="ch-system-grep grep"><primary sortas="b-grep">grep</primary></indexterm> +<para id="grep"><command>grep</command> prints lines matching a basic regular +expression.</para> + +</sect2> + + + +</sect1> |