OSDN Git Service

Commit drafts of man-1.6g posted at [JM:00196] to [JM:00206]
[linuxjm/jm.git] / manual / man / draft / man8 / makewhatis.8
1 .\"
2 .\" Generated automatically from makewhatis.8.in by the
3 .\" configure script.
4 .\"
5 .\" Copyright (c) 1999 Ottavio G. Rizzo <rizzo@pluto.linux.it>
6 .\"
7 .\" This is free documentation; you can redistribute it and/or
8 .\" modify it under the terms of the GNU General Public License as
9 .\" published by the Free Software Foundation; either version 2 of
10 .\" the License, or (at your option) any later version.
11 .\"
12 .\" The GNU General Public License's references to "object code"
13 .\" and "executables" are to be interpreted as the output of any
14 .\" document formatting or typesetting system, including
15 .\" intermediate and printed output.
16 .\"
17 .\" This manual is distributed in the hope that it will be useful,
18 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
19 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 .\" GNU General Public License for more details.
21 .\"
22 .\" You should have received a copy of the GNU General Public
23 .\" License along with this manual; if not, write to the Free
24 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
25 .\" USA.
26 .\" 
27 .\" Japanese Version Copyright (c) 1999 NAKANO Takeo all rights reserved.
28 .\" Translated Mon 6 Dec 1999 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
29 .\"
30 .\" Updated Fri 4 Mar 2011 by TACHIBANA Akira <tati@kc5.so-net.ne.jp>
31 .\"
32 .TH MAKEWHATIS 8 "September 19, 2005"
33 .\"O .SH NAME
34 .\"O makewhatis \- Create the whatis database
35 .SH Ì¾Á°
36 makewhatis \- whatis ¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÀ¸À®¤¹¤ë
37 .\"O .SH SYNOPSIS
38 .\"O .BI "makewhatis [-u] [-v] [-w] [-s " sections " ] [-c [" catpath "]] [" manpath "]"
39 .SH ½ñ¼°
40 .\"O .BI "makewhatis [-u] [-v] [-w] [-s " sections " ] [-c [" catpath "]] [" manpath "]"
41 .\"O:tati:¥½¡¼¥¹¤ò³Îǧ¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ï°Ê²¼¤Ç¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤è¤¦¤Ë¸«¤¨¤ë
42 .BI "makewhatis [-u] [-v] [-s " sections " ] [-w] [" manpath "] [-c [" catpath "]]"
43
44 .\"O .SH DESCRIPTION
45 .\"O .B makewhatis
46 .\"O reads all the manual pages contained in the given
47 .\"O .IR sections " of " manpath 
48 .\"O or the preformatted pages contained in the given
49 .\"O .IR sections " of " catpath .
50 .\"O For each page, it writes a line in the whatis database; each line
51 .\"O consists of the name of the page and a short description, separated
52 .\"O by a dash. The description is extracted using the content of the
53 .\"O NAME section of the manual page.
54 .SH ÀâÌÀ
55 .B makewhatis
56 ¤Ï \fImanpath\fP Ãæ¤Î \fIsections\fP ¤Ë¤¢¤ëÁ´¤Æ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ä¡¢
57 \fIcatpath\fP Ãæ¤Î \fIsections\fP ¤Ë¤¢¤ëÁ´¤Æ¤ÎÀ°·ÁºÑ¤ß¥Ú¡¼¥¸¤òÆɤ߹þ¤à¡£
58 ¤½¤ì¤¾¤ì¤Î¥Ú¡¼¥¸¤ËÂФ·¡¢
59 .B makewhatis
60 ¤Ï°ì¹Ô¤Î¾ðÊó¤ò whatis ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë½ñ¤­¹þ¤à¡£
61 ³Æ¹Ô¤Ë¤Ï¥Ú¡¼¥¸¤Î̾Á°¤È´Êñ¤ÊÀâÌÀ¤¬¡¢¥À¥Ã¥·¥å (\-) ¤Ç¶èÀÚ¤é¤ì¤¿¤«¤¿¤Á¤Ç
62 µ­½Ò¤µ¤ì¤ë¡£ÀâÌÀ¤Ï¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Î NAME (̾Á°¡¦Ì¾¾Î) ¥»¥¯¥·¥ç¥ó
63 ¤ÎÆâÍƤ«¤éÃê½Ð¤µ¤ì¤ë¡£
64 .LP
65 .\"O Since other languages use a different term for the NAME section,
66 .\"O .B makewhatis
67 .\"O recognizes the equivalent terms in Czech, Italian, Finnish, French,
68 .\"O German and Spanish.
69 ¸À¸ì¤Ë¤è¤Ã¤Æ NAME ¥»¥¯¥·¥ç¥ó¤Î¸«½Ð¤·¤Ë»È¤¦ÍѸ줬°Û¤Ê¤Ã¤Æ¤¤¤ë¡£
70 ¤½¤³¤Ç
71 .B makewhatis
72 ¤Ï±Ñ¸ì¤Î NAME ¤ËÁêÅö¤¹¤ë¡¢¥Á¥§¥³¸ì¡¢¥¤¥¿¥ê¥¢¸ì¡¢¥Õ¥£¥ó¥é¥ó¥É¸ì¡¢¥Õ¥é¥ó¥¹¸ì¡¢
73 ¥É¥¤¥Ä¸ì¡¢¥¹¥Ú¥¤¥ó¸ì¤Îñ¸ì¤òǧ¼±¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
74 .LP
75 .BR ÌõÃí :
76 JM ¤Ë¤¢¤ëÆüËܸì¥Ñ¥Ã¥Á¤òÅö¤Æ¤¿ makewhatis ¤Ï¡¢
77 ÆüËܸì¤Î¥¿¥¤¥È¥ë¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£
78 .LP
79 .\"O If no
80 .\"O .I manpath
81 .\"O argument is given,
82 .\"O .I /usr/man
83 .\"O is assumed by default.
84 .I manpath
85 °ú¿ô¤¬»ØÄꤵ¤ì¤Ê¤±¤ì¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤Î
86 .I /usr/man
87 ¤òÍѤ¤¤ë¡£
88 .\"O .SH OPTIONS
89 .SH ¥ª¥×¥·¥ç¥ó
90 .TP
91 .B -u
92 .\"O Update database with new pages.
93 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¿·¤·¤¤¥Ú¡¼¥¸¤Î¾ðÊó¤Ç¹¹¿·¤¹¤ë¡£
94 .TP
95 .B -v
96 .\"O Verbose output
97 ñÁÀå¤Ê½ÐÎϤò¤¹¤ë¡£
98 .TP
99 .B -w
100 .\"O Use manpath obtained from `man --path`
101 manpath ¤ò `man --path` ¤ÇÆÀ¤é¤ì¤ëÃͤˤ¹¤ë¡£
102 .TP 
103 .BI -s " sections"
104 .\"O Looks in the
105 .\"O .I sections
106 .\"O of
107 .\"O .IR manpath " or " catpath .
108 .\"O If the option is absent, the MANSECT env var will be used.  If it too
109 .\"O is absent, the MANSECT setting in man.conf will be used.
110 .IR manpath " ¤Þ¤¿¤Ï " catpath
111 ¤Î
112 .I sections
113 ¤ò¸«¤ë¡£
114 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò¾Êά¤¹¤ë¤È¡¢MANSECT ´Ä¶­ÊÑ¿ô¤¬ÍѤ¤¤é¤ì¤ë¡£
115 MANSECT ´Ä¶­ÊÑ¿ô¤âÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢man.conf ¤Ë¤¢¤ë MANSECT ¤Î
116 ÀßÄ꤬ÍѤ¤¤é¤ì¤ë¡£
117 .TP 
118 .BI -c " catpath"
119 .\"O The preformatted manual pages located in
120 .\"O .I catpath
121 .\"O are scanned. If the argument is not provided, it is assumed to be the
122 .\"O first existing directory between
123 .\"O .IR /usr/man/preformat " and " /usr/man .
124 .I catpath
125 ¤ËÃÖ¤«¤ì¤¿À°·ÁºÑ¤ß¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¥¹¥­¥ã¥ó¤¹¤ë¡£
126 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤ò¾Êά¤¹¤ë¤È¡¢
127 .IR /usr/man/preformat " ¤È " /usr/man
128 ¤Î¤¦¤Á¡¢Â¸ºß¤¹¤ëºÇ½é¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò°ú¿ô¤Ë»ØÄꤷ¤¿¤È¸«¤Ê¤µ¤ì¤ë¡£
129 .\"O .SH EXAMPLES
130 .SH Îã
131 .PP
132 .\"O To rebuild only 
133 .\"O .IR /usr/X11R6/man/whatis " and " /usr/local/man/whatis
134 .IR /usr/X11R6/man/whatis " ¤È " /usr/local/man/whatis
135 ¤À¤±¤òºÆ¹½ÃÛ¤¹¤ë¡£
136 .IP 
137 makewhatis /usr/X11R6/man /usr/local/man
138 .PP
139 .\"O To rebuild all the databases, including those of the Finnish, French
140 .\"O and Italian translations
141 ¥Õ¥£¥ó¥é¥ó¥É¸ì¡¢¥Õ¥é¥ó¥¹¸ì¡¢¥¤¥¿¥ê¥¢¸ì¤ÎËÝÌõ¤ò´Þ¤á¡¢
142 Á´¤Æ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºÆ¹½ÃÛ¤¹¤ë¡£
143 .IP
144 LANGUAGE=fi:fr:it makewhatis -w
145 .\"O .SH BUGS
146 .\"O .B makewhatis
147 .\"O may not handle too well manual pages written with non-standard troff
148 .\"O macros, such as the Tcl/Tk pages.
149 .SH ¥Ð¥°
150 .B makewhatis
151 ¤Ïɸ½àŪ¤Ç¤Ê¤¤ troff ¤Çµ­½Ò¤µ¤ì¤¿¥Þ¥Ë¥å¥¢¥Ú¡¼¥¸ (Tcl/Tk ¤Î¥Ú¡¼¥¸¤Ê¤É)
152 ¤ò¤¢¤Þ¤ê¤¦¤Þ¤¯°·¤¦¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£
153 .PP
154 .B makewhatis
155 .\"O does not work on preformatted translations.
156 ¤ÏËÝÌõÈǤÎÀ°·ÁºÑ¤ß¥Ú¡¼¥¸¤Ç¤Ï¤¦¤Þ¤¯Æ°¤«¤Ê¤¤¡£
157 .\"O .SH AUTHOR
158 .\"O John W. Eaton was the original author of 
159 .\"O .BR "man" . 
160 .\"O Zeyd M. Ben-Halim released man 1.2, and Andries Brouwer followed up with versions 1.3 thru 1.5p.
161 .\"O Federico Lucifredi <flucifredi@acm.org> is the current maintainer.
162 .SH ºî¼Ô
163 .B "man"
164 ¥Ñ¥Ã¥±¡¼¥¸¤Î¸¶ºî¼Ô¤Ï John W. Eaton ¤Ç¤¢¤ë¡£
165 Zeyd M. Ben-Halim ¤¬ man 1.2 ¤ò¥ê¥ê¡¼¥¹¤·¡¢°ú¤­Â³¤¤¤Æ Andries Brouwer ¤¬
166 versions 1.3 ¤«¤é 1.5p ¤Þ¤Ç¤ò¥ê¥ê¡¼¥¹¤·¤¿¡£
167 ¸½ºß¤Î¥á¥ó¥Æ¥Ê¡¼¤Ï Federico Lucifredi <flucifredi@acm.org> ¤Ç¤¢¤ë¡£
168 .\"O .SH SEE ALSO
169 .SH ´ØÏ¢¹àÌÜ
170 .BR apropos (1),
171 .BR man (1),
172 .BR whatis (1)