aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/m4.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/m4.xml')
-rw-r--r--chapter06/m4.xml19
1 files changed, 13 insertions, 6 deletions
diff --git a/chapter06/m4.xml b/chapter06/m4.xml
index 72e2b2d56..a6e7a95f1 100644
--- a/chapter06/m4.xml
+++ b/chapter06/m4.xml
@@ -46,22 +46,29 @@ Gettext, Glibc, Grep, Make, Perl, Sed</seg></seglistitem>
</sect2>
-<sect2 id="contents-m4"><title>Contents of M4</title>
+<sect2 id="contents-m4" role="content"><title>Contents of M4</title>
-<para><emphasis>Installed program</emphasis>: m4</para>
-
-</sect2>
+<segmentedlist>
+<segtitle>Installed program</segtitle>
+<seglistitem><seg>m4</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short description</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="m4"><command>m4</command></term>
+<listitem>
<indexterm zone="ch-system-m4 m4"><primary sortas="b-m4">m4</primary></indexterm>
-<para id="m4"><command>m4</command> copies the given files
+<para>copies the given files
while expanding the macros that they contain. These macros are either built-in
or user-defined and can take any number of arguments. Besides just doing macro
expansion, m4 has built-in functions for including named files, running Unix
commands, doing integer arithmetic, manipulating text in various ways,
recursion, and so on. The m4 program can be used either as a front-end to a
compiler or as a macro processor in its own right.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>