diff options
Diffstat (limited to 'chapter06/file.xml')
-rw-r--r-- | chapter06/file.xml | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/chapter06/file.xml b/chapter06/file.xml index 88c5ef383..a5043f518 100644 --- a/chapter06/file.xml +++ b/chapter06/file.xml @@ -43,28 +43,35 @@ GCC, Glibc, Grep, Make, Sed, Zlib</seg></seglistitem> </sect2> -<sect2 id="contents-file"><title>Contents of File</title> - -<para><emphasis>Installed program</emphasis>: file</para> - -<para><emphasis>Installed library</emphasis>: libmagic.[a,so]</para> - -</sect2> +<sect2 id="contents-file" role="content"><title>Contents of File</title> +<segmentedlist> +<segtitle>Installed programs</segtitle> +<segtitle>Installed library</segtitle> +<seglistitem><seg>file</seg><seg>libmagic.[a,so]</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="file"><command>file</command></term> +<listitem> <indexterm zone="ch-system-file file"><primary sortas="b-file">file</primary></indexterm> -<para id="file"><command>file</command> tries to classify each given file. It does +<para>tries to classify each given file. It does this by performing several tests: file system tests, magic number tests, and language tests. The first test that succeeds determines the result.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libmagic"><command>libmagic</command></term> +<listitem> <indexterm zone="ch-system-file libmagic"><primary sortas="c-libmagic">libmagic</primary></indexterm> -<para id="libmagic"><command>libmagic</command> contains routines for magic number -recognition, used by the file program.</para> +<para>contains routines for magic number recognition, used by the file program.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |