Changeset 2fa922f for chapter06/man-db.xml
- Timestamp:
- 02/06/2006 08:45:42 PM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 1ca11cd
- Parents:
- cf7142a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/man-db.xml
rcf7142a r2fa922f 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-man-db" role="wrap"> 7 <title>Man-DB-&man-db-version;</title> 8 <?dbhtml filename="man-db.html"?> 9 10 <indexterm zone="ch-system-man-db"><primary sortas="a-Man-DB">Man-DB</primary></indexterm> 11 12 <sect2 role="package"><title/> 13 <para>The Man-DB package contains programs for finding and viewing man pages.</para> 14 15 <segmentedlist> 16 <segtitle>&buildtime;</segtitle> 17 <segtitle>&diskspace;</segtitle> 18 <seglistitem><seg>0.1 SBU</seg><seg>1.1 MB</seg></seglistitem> 19 </segmentedlist> 20 21 <segmentedlist> 22 <segtitle>&dependencies;</segtitle> 23 <seglistitem><seg>Bash, Berkeley DB, Binutils, Coreutils, Gawk, GCC, 24 Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem> 25 </segmentedlist> 26 </sect2> 27 28 <sect2 role="installation"> 29 <title>Installation of Man-DB</title> 30 31 <para>Three adjustments need to be made to the sources of Man-DB.</para> 32 33 <para>The first one changes the location of translated manual pages that come 34 with Man-DB, in order for them to be accessible in both traditional and 35 UTF-8 locales:</para> 9 <?dbhtml filename="man-db.html"?> 10 11 <title>Man-DB-&man-db-version;</title> 12 13 <indexterm zone="ch-system-man-db"> 14 <primary sortas="a-Man-DB">Man-DB</primary> 15 </indexterm> 16 17 <sect2 role="package"> 18 <title/> 19 20 <para>The Man-DB package contains programs for finding and viewing man 21 pages.</para> 22 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 26 27 <seglistitem> 28 <seg>0.1 SBU</seg> 29 <seg>1.1 MB</seg> 30 </seglistitem> 31 </segmentedlist> 32 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 36 <seglistitem> 37 <seg>Bash, Berkeley DB, Binutils, Coreutils, Gawk, GCC, Gettext, 38 Glibc, Grep, Make, and Sed</seg> 39 </seglistitem> 40 </segmentedlist> 41 42 </sect2> 43 44 <sect2 role="installation"> 45 <title>Installation of Man-DB</title> 46 47 <para>Three adjustments need to be made to the sources of Man-DB.</para> 48 49 <para>The first one changes the location of translated manual pages that come 50 with Man-DB, in order for them to be accessible in both traditional and 51 UTF-8 locales:</para> 36 52 37 53 <screen><userinput>mv man/de{_DE.88591,} && … … 41 57 sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen> 42 58 43 <para>The second change is a <command>sed</command> substitution to delete the44 <quote>/usr/man</quote> lines in the 45 <filename>man_db.conf</filename> file to prevent redundant results when 46 using programs such as<command>whatis</command>:</para>59 <para>The second change is a <command>sed</command> substitution to delete 60 the <quote>/usr/man</quote> lines in the <filename>man_db.conf</filename> 61 file to prevent redundant results when using programs such as 62 <command>whatis</command>:</para> 47 63 48 64 <screen><userinput>sed -i '/\t\/usr\/man/d' src/man_db.conf.in</userinput></screen> 49 65 50 <para>The third change accounts for programs that Man-DB should be able51 to find at runtime, but that haven't been installed yet:</para>66 <para>The third change accounts for programs that Man-DB should be able 67 to find at runtime, but that haven't been installed yet:</para> 52 68 53 69 <screen><userinput>cat >>include/manconfig.h.in <<"EOF" … … 58 74 EOF</userinput></screen> 59 75 60 <para>The <command>col</command> program is a part of the Util-linux package, 61 <command>lynx</command> is a text-based web browser 62 (see BLFS for installation instructions), 63 <command>vgrind</command> converts program sources to Groff input, 64 and <command>grap</command> is useful for typesetting graphs in Groff documents. 65 The <command>vgrind</command> and <command>grap</command> programs are 66 not normally needed for viewing manual pages. They are 67 not part of LFS or BLFS, but you should be able to install them yourself 68 after finishing LFS if you wish to do so.</para> 69 70 <para>Prepare Man-DB for compilation:</para> 76 <para>The <command>col</command> program is a part of the Util-linux 77 package, <command>lynx</command> is a text-based web browser (see BLFS 78 for installation instructions), <command>vgrind</command> converts 79 program sources to Groff input, and <command>grap</command> is useful 80 for typesetting graphs in Groff documents. The <command>vgrind</command> 81 and <command>grap</command> programs are not normally needed for viewing 82 manual pages. They are not part of LFS or BLFS, but you should be able 83 to install them yourself after finishing LFS if you wish to do so.</para> 84 85 <para>Prepare Man-DB for compilation:</para> 71 86 72 87 <screen><userinput>./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen> 73 88 74 <para>The meaning of the configure options:</para> 75 76 <variablelist> 77 <varlistentry> 78 <term><parameter>--enable-mb-groff</parameter></term> 79 <listitem><para>This tells the <command>man</command> program to 80 use the <quote>ascii8</quote> and <quote>nippon</quote> Groff devices for formatting non-ISO-8859-1 81 manual pages.</para></listitem> 82 </varlistentry> 83 <varlistentry> 84 <term><parameter>--disable-setuid</parameter></term> 85 <listitem><para>This disables making the <command>man</command> program 86 setuid to user <quote>man</quote>.</para></listitem> 87 </varlistentry> 88 </variablelist> 89 90 <para>Compile the package:</para> 89 <variablelist> 90 <title>The meaning of the configure options:</title> 91 92 <varlistentry> 93 <term><parameter>--enable-mb-groff</parameter></term> 94 <listitem> 95 <para>This tells the <command>man</command> program to use the 96 <quote>ascii8</quote> and <quote>nippon</quote> Groff devices for 97 formatting non-ISO-8859-1 manual pages.</para> 98 </listitem> 99 </varlistentry> 100 101 <varlistentry> 102 <term><parameter>--disable-setuid</parameter></term> 103 <listitem> 104 <para>This disables making the <command>man</command> program setuid 105 to user <systemitem class="username">man</systemitem>.</para> 106 </listitem> 107 </varlistentry> 108 109 </variablelist> 110 111 <para>Compile the package:</para> 91 112 92 113 <screen><userinput>make</userinput></screen> 93 114 94 <para>Install the package:</para>115 <para>Install the package:</para> 95 116 96 117 <screen><userinput>make install</userinput></screen> 97 118 98 <para>Additional information regarding the compression of 99 man and info pages can be found in the BLFS book at 100 <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para> 101 102 </sect2> 103 104 <sect2><title>Non-English Manual Pages in LFS</title> 105 106 <para>Linux distributions have different policies concerning the character 107 encoding in which manual pages are stored in the filesystem. E.g., RedHat 108 stores all manual pages in UTF-8, while Debian uses language-specific 109 (mostly 8-bit) encodings. This leads to incompatibility of packages with 110 manual pages designed for different distributions.</para> 111 112 <para>LFS uses the same conventions as Debian. The relationship between 113 language codes and the expected encoding of manual pages is listed below. 114 Man-DB automatically converts them to the locale encoding while viewing.</para> 115 116 <!-- Origin: man-db-2.4.3/src/encodings.c --> 117 <table frame='all'><title>Expected character encoding of manual pages</title> 118 <tgroup cols='2' align='center' colsep='1' rowsep='1'> 119 <thead> 120 <row><entry>Language (code)</entry><entry>Encoding</entry></row> 121 </thead> 122 <tbody> 123 <row><entry>Danish (da)</entry><entry>ISO-8859-1</entry></row> 124 <row><entry>German (de)</entry><entry>ISO-8859-1</entry></row> 125 <row><entry>English (en)</entry><entry>ISO-8859-1</entry></row> 126 <row><entry>Spanish (es)</entry><entry>ISO-8859-1</entry></row> 127 <row><entry>Finnish (fi)</entry><entry>ISO-8859-1</entry></row> 128 <row><entry>French (fr)</entry><entry>ISO-8859-1</entry></row> 129 <row><entry>Irish (ga)</entry><entry>ISO-8859-1</entry></row> 130 <row><entry>Galician (gl)</entry><entry>ISO-8859-1</entry></row> 131 <row><entry>Indonesian (id)</entry><entry>ISO-8859-1</entry></row> 132 <row><entry>Icelandic (is)</entry><entry>ISO-8859-1</entry></row> 133 <row><entry>Italian (it)</entry><entry>ISO-8859-1</entry></row> 134 <row><entry>Dutch (nl)</entry><entry>ISO-8859-1</entry></row> 135 <!-- BUG: "no" is deprecated, should use "nb" or "nn" and symlinks --> 136 <row><entry>Norwegian (no)</entry><entry>ISO-8859-1</entry></row> 137 <!-- END BUG --> 138 <row><entry>Portuguese (pt)</entry><entry>ISO-8859-1</entry></row> 139 <row><entry>Swedish (sv)</entry><entry>ISO-8859-1</entry></row> 140 <!-- Languages below require patched groff --> 141 <row><entry>Czech (cs)</entry><entry>ISO-8859-2</entry></row> 142 <row><entry>Croatian (hr)</entry><entry>ISO-8859-2</entry></row> 143 <row><entry>Hungarian (hu)</entry><entry>ISO-8859-2</entry></row> 144 <row><entry>Japanese (ja)</entry><entry>EUC-JP</entry></row> 145 <row><entry>Korean (ko)</entry><entry>EUC-KR</entry></row> 146 <row><entry>Polish (pl)</entry><entry>ISO-8859-2</entry></row> 147 <row><entry>Russian (ru)</entry><entry>KOI8-R</entry></row> 148 <row><entry>Slovak (sk)</entry><entry>ISO-8859-2</entry></row> 149 <row><entry>Turkish (tr)</entry><entry>ISO-8859-9</entry></row> 150 </tbody> 151 </tgroup> 152 </table> 153 154 <note><para>Manual pages in languages not in the list are not supported. 155 Norwegian doesn't work now because of the transition from no_NO to nb_NO 156 locale, and Korean is non-functional because of the incomplete Groff patch. 157 </para></note> 158 159 <para>If upstream distributes the manual pages in the same encoding as 160 Man-DB expects, the manual pages can be copied to 161 <filename class="directory">/usr/share/man/<replaceable>[language code]</replaceable></filename>. 162 E.g., French manual pages 163 (<ulink url="http://ccb.club.fr/man/man-fr-1.58.0.tar.bz2"/>) 164 can be installed with the following command:</para> 119 <para>Additional information regarding the compression of 120 man and info pages can be found in the BLFS book at 121 <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para> 122 123 </sect2> 124 125 <sect2> 126 <title>Non-English Manual Pages in LFS</title> 127 128 <para>Linux distributions have different policies concerning the character 129 encoding in which manual pages are stored in the filesystem. E.g., RedHat 130 stores all manual pages in UTF-8, while Debian uses language-specific 131 (mostly 8-bit) encodings. This leads to incompatibility of packages with 132 manual pages designed for different distributions.</para> 133 134 <para>LFS uses the same conventions as Debian. The relationship between 135 language codes and the expected encoding of manual pages is listed below. 136 Man-DB automatically converts them to the locale encoding while viewing.</para> 137 138 <!-- Origin: man-db-2.4.3/src/encodings.c --> 139 <table> 140 <title>Expected character encoding of manual pages</title> 141 142 <tgroup cols="2"> 143 144 <thead> 145 <row> 146 <entry>Language (code)</entry> 147 <entry>Encoding</entry> 148 </row> 149 </thead> 150 151 <tbody> 152 <row> 153 <entry>Danish (da)</entry> 154 <entry>ISO-8859-1</entry> 155 </row> 156 <row> 157 <entry>German (de)</entry> 158 <entry>ISO-8859-1</entry> 159 </row> 160 <row> 161 <entry>English (en)</entry> 162 <entry>ISO-8859-1</entry> 163 </row> 164 <row> 165 <entry>Spanish (es)</entry> 166 <entry>ISO-8859-1</entry> 167 </row> 168 <row> 169 <entry>Finnish (fi)</entry> 170 <entry>ISO-8859-1</entry> 171 </row> 172 <row> 173 <entry>French (fr)</entry> 174 <entry>ISO-8859-1</entry> 175 </row> 176 <row> 177 <entry>Irish (ga)</entry> 178 <entry>ISO-8859-1</entry> 179 </row> 180 <row> 181 <entry>Galician (gl)</entry> 182 <entry>ISO-8859-1</entry> 183 </row> 184 <row> 185 <entry>Indonesian (id)</entry> 186 <entry>ISO-8859-1</entry> 187 </row> 188 <row> 189 <entry>Icelandic (is)</entry> 190 <entry>ISO-8859-1</entry> 191 </row> 192 <row> 193 <entry>Italian (it)</entry> 194 <entry>ISO-8859-1</entry> 195 </row> 196 <row> 197 <entry>Dutch (nl)</entry> 198 <entry>ISO-8859-1</entry> 199 </row> 200 <!-- BUG: "no" is deprecated, should use "nb" or "nn" and symlinks --> 201 <row> 202 <entry>Norwegian (no)</entry> 203 <entry>ISO-8859-1</entry> 204 </row> 205 <!-- END BUG --> 206 <row> 207 <entry>Portuguese (pt)</entry> 208 <entry>ISO-8859-1</entry> 209 </row> 210 <row> 211 <entry>Swedish (sv)</entry> 212 <entry>ISO-8859-1</entry> 213 </row> 214 <!-- Languages below require patched groff --> 215 <row> 216 <entry>Czech (cs)</entry> 217 <entry>ISO-8859-2</entry> 218 </row> 219 <row> 220 <entry>Croatian (hr)</entry> 221 <entry>ISO-8859-2</entry> 222 </row> 223 <row> 224 <entry>Hungarian (hu)</entry> 225 <entry>ISO-8859-2</entry> 226 </row> 227 <row> 228 <entry>Japanese (ja)</entry> 229 <entry>EUC-JP</entry> 230 </row> 231 <row> 232 <entry>Korean (ko)</entry> 233 <entry>EUC-KR</entry> 234 </row> 235 <row> 236 <entry>Polish (pl)</entry> 237 <entry>ISO-8859-2</entry> 238 </row> 239 <row> 240 <entry>Russian (ru)</entry> 241 <entry>KOI8-R</entry> 242 </row> 243 <row> 244 <entry>Slovak (sk)</entry> 245 <entry>ISO-8859-2</entry> 246 </row> 247 <row> 248 <entry>Turkish (tr)</entry> 249 <entry>ISO-8859-9</entry> 250 </row> 251 </tbody> 252 253 </tgroup> 254 255 </table> 256 257 <note> 258 <para>Manual pages in languages not in the list are not supported. 259 Norwegian doesn't work now because of the transition from no_NO to 260 nb_NO locale, and Korean is non-functional because of the incomplete 261 Groff patch.</para> 262 </note> 263 264 <para>If upstream distributes the manual pages in the same encoding 265 as Man-DB expects, the manual pages can be copied to 266 <filename class="directory">/usr/share/man/<replaceable>[language 267 code]</replaceable></filename>. E.g., French manual pages 268 (<ulink url="http://ccb.club.fr/man/man-fr-1.58.0.tar.bz2"/>) can be 269 installed with the following command:</para> 165 270 166 271 <screen role="nodump"><userinput>mkdir -p /usr/share/man/fr && 167 272 cp -rv man? /usr/share/man/fr</userinput></screen> 168 273 169 <para>If upstream distributes manual pages in UTF-8 (i.e., <quote>for RedHat</quote>) 170 instead of the encoding listed in the table above, they have to be 171 converted from UTF-8 to the encoding listed in the table before172 installation. E.g., Spanish manual pages 173 (<ulinkurl="http://ditec.um.es/~piernas/manpages-es/man-pages-es-1.55.tar.bz2"/>)174 can be installed with the following commands:</para>274 <para>If upstream distributes manual pages in UTF-8 (i.e., <quote>for 275 RedHat</quote>) instead of the encoding listed in the table above, they 276 have to be converted from UTF-8 to the encoding listed in the table before 277 installation. E.g., Spanish manual pages (<ulink 278 url="http://ditec.um.es/~piernas/manpages-es/man-pages-es-1.55.tar.bz2"/>) 279 can be installed with the following commands:</para> 175 280 176 281 <screen role="nodump"><userinput>mkdir -p /usr/share/man/es && 177 282 find man? -type f | grep -v 'man7/iso_8859-7.7' | \ 178 283 while read F ; do 179 284 iconv -f UTF-8 -t ISO-8859-1 $F >tmp ; mv tmp $F 180 285 done && 181 286 cp -rv man? /usr/share/man/es</userinput></screen> 182 287 183 <note><para>The need to exclude the <filename>man7/iso_8859-7.7</filename> file 184 from the conversion process because it is already in ISO-8859-1 is a packaging 185 bug in man-pages-es-1.55. Future versions should not require this workaround.</para></note> 186 187 </sect2> 188 189 <sect2 id="contents-man-db" role="content"><title>Contents of Man-DB</title> 190 191 <segmentedlist> 192 <segtitle>Installed programs</segtitle> 193 <seglistitem><seg>accessdb, apropos, catman, lexgrog, man, mandb, manpath, 194 and whatis</seg></seglistitem> 195 </segmentedlist> 196 197 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 198 <?dbfo list-presentation="list"?> 199 <?dbhtml list-presentation="table"?> 200 201 202 <varlistentry id="accessdb"> 203 <term><command>accessdb</command></term> 204 <listitem> 205 <para>Dumps the <command>whatis</command> database contents in human-readable form</para> 206 <indexterm zone="ch-system-man-db accessdb"><primary sortas="b-accessdb">accessdb</primary></indexterm> 207 </listitem> 208 </varlistentry> 209 210 <varlistentry id="apropos"> 211 <term><command>apropos</command></term> 212 <listitem> 213 <para>Searches the <command>whatis</command> database and displays the short descriptions 214 of system commands that contain a given string</para> 215 <indexterm zone="ch-system-man-db apropos"><primary sortas="b-apropos">apropos</primary></indexterm> 216 </listitem> 217 </varlistentry> 218 219 <varlistentry id="catman"> 220 <term><command>catman</command></term> 221 <listitem> 222 <para>Creates or updates the pre-formatted manual pages</para> 223 <indexterm zone="ch-system-man-db catman"><primary sortas="b-catman">catman</primary></indexterm> 224 </listitem> 225 </varlistentry> 226 227 <varlistentry id="lexgrog"> 228 <term><command>lexgrog</command></term> 229 <listitem> 230 <para>Displays one-line summary information about a given manual page</para> 231 <indexterm zone="ch-system-man-db lexgrog"><primary sortas="b-lexgrog">lexgrog</primary></indexterm> 232 </listitem> 233 </varlistentry> 234 235 <varlistentry id="man"> 236 <term><command>man</command></term> 237 <listitem> 238 <para>Formats and displays the requested manual page</para> 239 <indexterm zone="ch-system-man-db man"><primary sortas="b-man">man</primary></indexterm> 240 </listitem> 241 </varlistentry> 242 243 <varlistentry id="mandb"> 244 <term><command>mandb</command></term> 245 <listitem> 246 <para>Creates or updates the <command>whatis</command> database</para> 247 <indexterm zone="ch-system-man-db mandb"><primary sortas="b-mandb">mandb</primary></indexterm> 248 </listitem> 249 </varlistentry> 250 251 <varlistentry id="whatis"> 252 <term><command>whatis</command></term> 253 <listitem> 254 <para>Searches the <command>whatis</command> database and displays the short descriptions 255 of system commands that contain the given keyword as a separate 256 word</para> 257 <indexterm zone="ch-system-man-db whatis"><primary sortas="b-whatis">whatis</primary></indexterm> 258 </listitem> 259 </varlistentry> 260 </variablelist> 261 262 </sect2> 288 <note> 289 <para>The need to exclude the <filename>man7/iso_8859-7.7</filename> file 290 from the conversion process because it is already in ISO-8859-1 is a 291 packaging bug in man-pages-es-1.55. Future versions should not require 292 this workaround.</para> 293 </note> 294 295 </sect2> 296 297 <sect2 id="contents-man-db" role="content"> 298 <title>Contents of Man-DB</title> 299 300 <segmentedlist> 301 <segtitle>Installed programs</segtitle> 302 303 <seglistitem> 304 <seg>accessdb, apropos, catman, lexgrog, man, mandb, manpath, 305 and whatis</seg> 306 </seglistitem> 307 </segmentedlist> 308 309 <variablelist> 310 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 311 <?dbfo list-presentation="list"?> 312 <?dbhtml list-presentation="table"?> 313 314 <varlistentry id="accessdb"> 315 <term><command>accessdb</command></term> 316 <listitem> 317 <para>Dumps the <command>whatis</command> database contents in 318 human-readable form</para> 319 <indexterm zone="ch-system-man-db accessdb"> 320 <primary sortas="b-accessdb">accessdb</primary> 321 </indexterm> 322 </listitem> 323 </varlistentry> 324 325 <varlistentry id="apropos"> 326 <term><command>apropos</command></term> 327 <listitem> 328 <para>Searches the <command>whatis</command> database and displays 329 the short descriptions of system commands that contain a given 330 string</para> 331 <indexterm zone="ch-system-man-db apropos"> 332 <primary sortas="b-apropos">apropos</primary> 333 </indexterm> 334 </listitem> 335 </varlistentry> 336 337 <varlistentry id="catman"> 338 <term><command>catman</command></term> 339 <listitem> 340 <para>Creates or updates the pre-formatted manual pages</para> 341 <indexterm zone="ch-system-man-db catman"> 342 <primary sortas="b-catman">catman</primary> 343 </indexterm> 344 </listitem> 345 </varlistentry> 346 347 <varlistentry id="lexgrog"> 348 <term><command>lexgrog</command></term> 349 <listitem> 350 <para>Displays one-line summary information about a given manual 351 page</para> 352 <indexterm zone="ch-system-man-db lexgrog"> 353 <primary sortas="b-lexgrog">lexgrog</primary> 354 </indexterm> 355 </listitem> 356 </varlistentry> 357 358 <varlistentry id="man"> 359 <term><command>man</command></term> 360 <listitem> 361 <para>Formats and displays the requested manual page</para> 362 <indexterm zone="ch-system-man-db man"> 363 <primary sortas="b-man">man</primary> 364 </indexterm> 365 </listitem> 366 </varlistentry> 367 368 <varlistentry id="mandb"> 369 <term><command>mandb</command></term> 370 <listitem> 371 <para>Creates or updates the <command>whatis</command> database</para> 372 <indexterm zone="ch-system-man-db mandb"> 373 <primary sortas="b-mandb">mandb</primary> 374 </indexterm> 375 </listitem> 376 </varlistentry> 377 378 <varlistentry id="whatis"> 379 <term><command>whatis</command></term> 380 <listitem> 381 <para>Searches the <command>whatis</command> database and displays 382 the short descriptions of system commands that contain the given 383 keyword as a separate word</para> 384 <indexterm zone="ch-system-man-db whatis"> 385 <primary sortas="b-whatis">whatis</primary> 386 </indexterm> 387 </listitem> 388 </varlistentry> 389 390 </variablelist> 391 392 </sect2> 263 393 264 394 </sect1> 265
Note:
See TracChangeset
for help on using the changeset viewer.