diff options
Diffstat (limited to 'chapter06/grep.xml')
-rw-r--r-- | chapter06/grep.xml | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/chapter06/grep.xml b/chapter06/grep.xml index 344fb0700..1726965b7 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -46,30 +46,40 @@ Diffutils, GCC, Gettext, Glibc, Make, Sed, Texinfo</seg></seglistitem> </sect2> -<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 id="contents-grep" role="content"><title>Contents of Grep</title> +<segmentedlist> +<segtitle>Installed programs</segtitle> +<seglistitem><seg>egrep (link to grep), fgrep (link to grep) and grep</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="egrep"><command>egrep</command></term> +<listitem> <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> +<para>prints lines matching an extended regular expression.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="fgrep"><command>fgrep</command></term> +<listitem> <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> +<para>prints lines matching a list of fixed strings.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="grep"><command>grep</command></term> +<listitem> <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> +<para>prints lines matching a basic regular expression.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |