aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/flex.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-17 21:55:01 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-17 21:55:01 +0000
commitc6cb3aa2f176d65a5ebe77e7da82e20946188a98 (patch)
tree3167e42f874b5784307f02acc61a0570f31ccb38 /chapter06/flex.xml
parent01b2724c70a6addd4e2190649c14a79be3a85090 (diff)
HEAD: Retagged the Contents of ... sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/flex.xml')
-rw-r--r--chapter06/flex.xml42
1 files changed, 27 insertions, 15 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 855238aa6..c4bc1e664 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -78,34 +78,46 @@ chmod 755 /usr/bin/lex</userinput></screen>
</sect2>
-<sect2 id="contents-flex"><title>Contents of Flex</title>
-
-<para><emphasis>Installed programs</emphasis>: flex, flex++ (link to flex)
-and lex</para>
-
-<para><emphasis>Installed library</emphasis>: libfl.a</para>
-
-</sect2>
+<sect2 id="contents-flex" role="content"><title>Contents of Flex</title>
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<segtitle>Installed library</segtitle>
+<seglistitem><seg>flex, flex++ (link to flex) and lex</seg>
+<seg>libfl.a</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short descriptions</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="flex"><command>flex</command></term>
+<listitem>
<indexterm zone="ch-system-flex flex"><primary sortas="b-flex">flex</primary></indexterm>
-<para id="flex"><command>flex</command> is a tool for generating programs that
+<para>is a tool for generating programs that
recognize patterns in text. Pattern recognition is useful in many applications.
From a set of rules on what to look for, flex makes a program that looks for
those patterns. The reason to use flex is that it is much easier to specify
the rules for a pattern-finding program than to write the program.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="flex-"><command>flex++</command></term>
+<listitem>
<indexterm zone="ch-system-flex flex-"><primary sortas="b-flex++">flex++</primary></indexterm>
-<para id="flex-"><command>flex++</command> invokes a version of flex that is used
-exclusively for C++ scanners.</para>
+<para>invokes a version of flex that is used exclusively for C++ scanners.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="libfl.a"><command>libfl.a</command></term>
+<listitem>
<indexterm zone="ch-system-flex libfl.a"><primary sortas="c-libfl.a">libfl.a</primary></indexterm>
-<para id="libfl.a"><command>libfl.a</command> is the flex library.</para>
+<para>is the flex library.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
-
-
</sect1>