diff options
Diffstat (limited to 'chapter06/man.xml')
-rw-r--r-- | chapter06/man.xml | 63 |
1 files changed, 45 insertions, 18 deletions
diff --git a/chapter06/man.xml b/chapter06/man.xml index a1de7a956..6a95b0702 100644 --- a/chapter06/man.xml +++ b/chapter06/man.xml @@ -108,42 +108,69 @@ formatting and compression issues for man pages.</para> </sect2> -<sect2 id="contents-man"><title>Contents of Man</title> - -<para><emphasis>Installed programs</emphasis>: apropos, makewhatis, man, -man2dvi, man2html and whatis</para> - -</sect2> +<sect2 id="contents-man" role="content"><title>Contents of Man</title> +<segmentedlist> +<segtitle>Installed programs</segtitle> +<seglistitem><seg>apropos, makewhatis, man, +man2dvi, man2html and whatis</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="apropos"><command>apropos</command></term> +<listitem> <indexterm zone="ch-system-man apropos"><primary sortas="b-apropos">apropos</primary></indexterm> -<para id="apropos"><command>apropos</command> searches the whatis database and displays +<para>searches the whatis database and displays the short descriptions of system commands that contain a given string.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="makewhatis"><command>makewhatis</command></term> +<listitem> <indexterm zone="ch-system-man makewhatis"><primary sortas="b-makewhatis">makewhatis</primary></indexterm> -<para id="makewhatis"><command>makewhatis</command> builds the whatis database. It reads +<para>builds the whatis database. It reads all the manual pages in the manpath and for each page writes the name and a short description in the whatis database.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="man"><command>man</command></term> +<listitem> <indexterm zone="ch-system-man man"><primary sortas="b-man">man</primary></indexterm> -<para id="man"><command>man</command> formats and displays the requested on-line -manual page.</para> +<para>formats and displays the requested on-line manual page.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="man2dvi"><command>man2dvi</command></term> +<listitem> <indexterm zone="ch-system-man man2dvi"><primary sortas="b-man2dvi">man2dvi</primary></indexterm> -<para id="man2dvi"><command>man2dvi</command> converts a manual page into dvi format.</para> +<para>converts a manual page into dvi format.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="man2html"><command>man2html</command></term> +<listitem> <indexterm zone="ch-system-man man2html"><primary sortas="b-man2html">man2html</primary></indexterm> -<para id="man2html"><command>man2html</command> converts a manual page into html.</para> +<para>converts a manual page into html.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="whatis"><command>whatis</command></term> +<listitem> <indexterm zone="ch-system-man whatis"><primary sortas="b-whatis">whatis</primary></indexterm> -<para id="whatis"><command>whatis</command> searches the whatis database and displays -the short descriptions of system commands that contain the given keyword as a -separate word.</para> +<para>searches the whatis database and displays the short descriptions of system +commands that contain the given keyword as a separate word.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |