OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / GNU_bash / work / P13
1 .TP
2 \fBshopt\fP [\fB\-pqsu\fP] [\fB\-o\fP] [\fIoptname\fP ...]
3 .\"O Toggle the values of variables controlling optional shell behavior.
4 .\"O With no options, or with the
5 .\"O .B \-p
6 .\"O option, a list of all settable options is displayed, with
7 .\"O an indication of whether or not each is set.
8 .\"O The \fB\-p\fP option causes output to be displayed in a form that
9 .\"O may be reused as input.
10 .\"O Other options have the following meanings:
11 ¥·¥§¥ë¤Î¥ª¥×¥·¥ç¥óÆ°ºî¤òÀ©¸æ¤¹¤ëÊÑ¿ô¤ÎÃͤò¥È¥°¥ë¤µ¤»¤Þ¤¹¡£
12 ¥ª¥×¥·¥ç¥ó¤¬Ìµ¤¤¾ì¹ç¤ä¡¢
13 .B \-p
14 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢
15 ÀßÄê²Äǽ¤Ê¥ª¥×¥·¥ç¥óÁ´¤Æ¤Î¥ê¥¹¥È¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
16 ɽ¼¨¤ÎºÝ¤Ë¤Ï¡¢¤½¤ì¤¾¤ì¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤â¼¨¤µ¤ì¤Þ¤¹¡£
17 \fB\-p\fP ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢
18 ¥ª¥×¥·¥ç¥ó¤Îɽ¼¨¤Ï¡¢ÆþÎϤȤ·¤ÆºÆÍøÍѤǤ­¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£
19 ¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢°Ê²¼¤Î°ÕÌ£¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹:
20 .RS
21 .PD 0
22 .TP
23 .B \-s
24 .\"O Enable (set) each \fIoptname\fP.
25 \fIoptname\fP ¤ò¤½¤ì¤¾¤ìÍ­¸ú¤Ë¤·¤Þ¤¹ (ÀßÄꤷ¤Þ¤¹)¡£
26 .TP
27 .B \-u
28 .\"O Disable (unset) each \fIoptname\fP.
29 \fIoptname\fP ¤ò¤½¤ì¤¾¤ì̵¸ú¤Ë¤·¤Þ¤¹ (ÀßÄê²ò½ü¤·¤Þ¤¹)¡£
30 .TP
31 .B \-q
32 .\"O Suppresses normal output (quiet mode); the return status indicates
33 .\"O whether the \fIoptname\fP is set or unset.
34 .\"O If multiple \fIoptname\fP arguments are given with
35 .\"O .BR \-q ,
36 .\"O the return status is zero if all \fIoptnames\fP are enabled; non-zero
37 .\"O otherwise.
38 .\"O NAKANO ¤¦¡¼¤à, silent mode ¤È quiet ¥â¡¼¥É¤Ï¤É¤¦°ã¤¦¤Î¤À¤í¤¦ :-)
39 Ä̾ï¤Î½ÐÎϤò»ß¤á¤Þ¤¹ (ÀŤ«¤Ê¥â¡¼¥É)¡£
40 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï¡¢\fIoptname\fP ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¼¨¤·¤Þ¤¹¡£
41 Ê£¿ô¤Î \fIoptname\fP °ú¤­¿ô¤È
42 .B \-q 
43 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢
44 Á´¤Æ¤Î \fIoptnames\fP ¤¬Í­¸ú¤Ç¤¢¤ë»þ¤ËÊֵѥ¹¥Æ¡¼¥¿¥¹¤¬ 0 ¤È¤Ê¤ê¤Þ¤¹¡£
45 ¤½¤ì°Ê³°¤Î»þ¤Ë¤Ï¡¢0 ¤Ç¤Ê¤¤ÃͤȤʤê¤Þ¤¹¡£
46 .TP
47 .B \-o
48 .\"O Restricts the values of \fIoptname\fP to be those defined for the
49 .\"O .B \-o
50 .\"O option to the
51 .\"O .B set
52 .\"O builtin.
53 \fIoptname\fP ¤ÎÃͤò¡¢ÁȤ߹þ¤ß¥³¥Þ¥ó¥É
54 .B set
55 ¤Î
56 .B \-o
57 ¥ª¥×¥·¥ç¥ó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤ËÀ©¸Â¤·¤Þ¤¹¡£
58 .PD
59 .PP
60 .\"O If either
61 .\"O .B \-s
62 .\"O or
63 .\"O .B \-u
64 .\"O is used with no \fIoptname\fP arguments, the display is limited to
65 .\"O those options which are set or unset, respectively.
66 .\"O Unless otherwise noted, the \fBshopt\fP options are disabled (unset)
67 .\"O by default.
68 °ú¤­¿ô \fIoptname\fP Ìµ¤·¤Ç
69 .B \-s
70 ¥ª¥×¥·¥ç¥ó¤Þ¤¿¤Ï
71 .B \-u
72 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¾ì¹ç¡¢É½¼¨¤µ¤ì¤ë¤â¤Î¤ÏÀßÄꤵ¤ì¤Æ¤¤¤ë¤â¤Î¡¢
73 ¤Þ¤¿¤ÏÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤â¤Î¤Ë¤½¤ì¤¾¤ìÀ©¸Â¤µ¤ì¤Þ¤¹¡£
74 ÆäËÃǤé¤Ê¤¤¸Â¤ê¡¢\fBshopt\fP ¥ª¥×¥·¥ç¥ó¤Ï
75 ¥Ç¥Õ¥©¥ë¥È¤Ç̵¸ú (ÀßÄê²ò½ü) ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
76 .PP
77 .\"O The return status when listing options is zero if all \fIoptnames\fP
78 .\"O are enabled, non-zero otherwise.  When setting or unsetting options,
79 .\"O the return status is zero unless an \fIoptname\fP is not a valid shell
80 .\"O option.
81 ¥ª¥×¥·¥ç¥ó¤ò¥ê¥¹¥Èɽ¼¨¤·¤¿»þ¤ÎÊֵѥ¹¥Æ¡¼¥¿¥¹¤Ï¡¢
82 Á´¤Æ¤Î \fIoptnames\fP ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï 0 ¤È¤Ê¤ê¤Þ¤¹¡£
83 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï 0 ¤Ç¤Ê¤¤ÃͤȤʤê¤Þ¤¹¡£
84 ÀßÄê¤Þ¤¿¤ÏÀßÄê¼è¤ê¾Ã¤·¤Î¥ª¥×¥·¥ç¥ó¤Î»þ¤Ë¤Ï¡¢
85 \fIoptname\fP ¤¬ÉÔÀµ¤Ê¥·¥§¥ë¥ª¥×¥·¥ç¥ó¤Ç¤Ê¤±¤ì¤Ð¡¢
86 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï 0 ¤È¤Ê¤ê¤Þ¤¹¡£
87 .PP
88 .\"O The list of \fBshopt\fP options is:
89 \fBshopt\fP ¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹:
90 .if t .sp .5v
91 .if n .sp 1v
92 .PD 0
93 .TP 8
94 .B cdable_vars
95 .\"O If set, an argument to the
96 .\"O .B cd
97 .\"O builtin command that
98 .\"O is not a directory is assumed to be the name of a variable whose
99 .\"O value is the directory to change to.
100 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ÁȤ߹þ¤ß¥³¥Þ¥ó¥É
101 .B cd
102 ¤Ø¤Î°ú¤­¿ô¤Ç¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤Ê¤¤¤â¤Î¤ÏÊÑ¿ô¤Î̾Á°¤È¸«¤Ê¤µ¤ì¡¢
103 ¤½¤ÎÃͤ¬Êѹ¹Àè¤Î¥Ç¥£¥ì¥¯¥È¥ê¤È¤Ê¤ê¤Þ¤¹¡£
104 .TP 8
105 .B cdspell
106 .\"O If set, minor errors in the spelling of a directory component in a
107 .\"O .B cd
108 .\"O command will be corrected.
109 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
110 .B cd
111 ¥³¥Þ¥ó¥É¤Î¥Ç¥£¥ì¥¯¥È¥êÍ×ÁǤˤª¤±¤ë¥¹¥Ú¥ë¤Î¤Á¤ç¤Ã¤È¤·¤¿¸í¤ê¤Ï½¤Àµ¤µ¤ì¤Þ¤¹¡£
112 .\"O The errors checked for are transposed characters,
113 .\"O a missing character, and one character too many.
114 ¥Á¥§¥Ã¥¯¤µ¤ì¤ë¸í¤ê¤Ï¡¢Ê¸»ú¤ÎÆþ¤ìÂؤï¤ê¡¦Ê¸»ú¤Î·ç¤±¡¦
115 1 Ê¸»ú;ʬ¤Ë¤¢¤ë¤³¤È¤Ç¤¹¡£
116 .\"O If a correction is found, the corrected file name is printed,
117 .\"O and the command proceeds.
118 .\"O This option is only used by interactive shells.
119 ÄûÀµ¤Ç¤­¤¿¾ì¹ç¤Ë¤Ï¡¢ÄûÀµ¸å¤Î¥Õ¥¡¥¤¥ë̾¤¬É½¼¨¤µ¤ì¡¢
120 ¥³¥Þ¥ó¥É¤Ï³¤±¤Æ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
121 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»È¤ï¤ì¤ë¤Î¤ÏÂÐÏÃŪ¥·¥§¥ë¤À¤±¤Ç¤¹¡£
122 .TP 8
123 .B checkhash
124 .\"O If set, \fBbash\fP checks that a command found in the hash
125 .\"O table exists before trying to execute it.  If a hashed command no
126 .\"O longer exists, a normal path search is performed.
127 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
128 \fBbash\fP ¤Ï¥Ï¥Ã¥·¥åɽ¤Ç¸«¤Ä¤±¤¿¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ëÁ°¤Ë
129 ¼ÂºÝ¤Ë¸ºß¤¹¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£
130 ¥Ï¥Ã¥·¥å¤µ¤ì¤Æ¤¤¤ë¥³¥Þ¥ó¥É¤¬´û¤Ë̵¤¯¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
131 Ä̾ï¤Î¥Ñ¥¹¸¡º÷¤¬¹Ô¤ï¤ì¤Þ¤¹¡£
132 .TP 8
133 .B checkwinsize
134 .\"O If set, \fBbash\fP checks the window size after each command
135 .\"O and, if necessary, updates the values of
136 .\"O .SM
137 .\"O .B LINES
138 .\"O and
139 .\"O .SM
140 .\"O .BR COLUMNS .
141 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\fBbash\fP ¤Ï¥³¥Þ¥ó¥É¤Î¼Â¹Ô¸å¤Ë
142 Ëè²ó¥¦¥£¥ó¥É¥¦¤ÎÂ礭¤µ¤ò¥Á¥§¥Ã¥¯¤·¡¢É¬Íפ˱þ¤¸¤Æ
143 .SM
144 .B LINES
145 ¤È
146 .SM
147 .B COLUMNS
148 ¤ÎÃͤò¹¹¿·¤·¤Þ¤¹¡£
149 .TP 8
150 .B cmdhist
151 .\"O If set,
152 .\"O .B bash
153 .\"O attempts to save all lines of a multiple-line
154 .\"O command in the same history entry.  This allows
155 .\"O easy re-editing of multi-line commands.
156 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
157 .B bash
158 ¤ÏÊ£¿ô¹Ô¤Ëʬ¤«¤ì¤Æ¤¤¤ë¥³¥Þ¥ó¥É¤ÎÁ´¤Æ¤Î¹Ô¤ò¡¢
159 Ʊ¤¸ÍúÎò¥¨¥ó¥È¥ê¤ËÊݸ¤·¤è¤¦¤È¤·¤Þ¤¹¡£
160 ¤³¤ì¤ò»È¤¦¤È¡¢Ê£¿ô¹Ô¤Ëʬ¤«¤ì¤Æ¤¤¤ë¥³¥Þ¥ó¥É¤ÎºÆÊÔ½¸¤¬Íưפˤʤê¤Þ¤¹¡£
161 .TP 8
162 .B dotglob
163 .\"O If set, 
164 .\"O .B bash
165 .\"O includes filenames beginning with a `.' in the results of pathname
166 .\"O expansion.
167 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
168 .B bash
169 ¤Ï `.' ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë̾¤ò¥Ñ¥¹Ì¾Å¸³«¤Î·ë²Ì¤Ë´Þ¤á¤Þ¤¹¡£
170 .TP 8
171 .B execfail
172 .\"O If set, a non-interactive shell will not exit if
173 .\"O it cannot execute the file specified as an argument to the
174 .\"O .B exec
175 .\"O builtin command.  An interactive shell does not exit if
176 .\"O .B exec
177 .\"O fails.
178 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
179 ÁȤ߹þ¤ß¥³¥Þ¥ó¥É
180 .B exec
181 ¤Ø¤Î°ú¤­¿ô¤È¤·¤Æ»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤¬¼Â¹Ô¤Ç¤­¤Ê¤¯¤Æ¤â¡¢
182 ÂÐÏÃŪ¤Ç¤Ê¤¤¥·¥§¥ë¤¬½ªÎ»¤·¤Þ¤»¤ó¡£
183 ÂÐÏÃŪ¥·¥§¥ë¤Ï
184 .B exec
185 ¤Ë¼ºÇÔ¤·¤Æ¤â½ªÎ»¤·¤Þ¤»¤ó¡£
186 .TP 8
187 .B expand_aliases
188 .\"O If set, aliases are expanded as described above under
189 .\"O .SM
190 .\"O .BR ALIASES .
191 .\"O This option is enabled by default for interactive shells.
192 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥¨¥¤¥ê¥¢¥¹¤¬Á°½Ò¤Î
193 .SM
194 .B ¥¨¥¤¥ê¥¢¥¹
195 ¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤¿¤è¤¦¤ËŸ³«¤µ¤ì¤Þ¤¹¡£
196 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÂÐÏÃŪ¤Ê¥·¥§¥ë¤Ç¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£
197 .TP 8
198 .B extglob
199 .\"O If set, the extended pattern matching features described above under
200 .\"O \fBPathname Expansion\fP are enabled.
201 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢³ÈÄ¥¤µ¤ì¤¿¥Ñ¥¿¡¼¥ó¥Þ¥Ã¥Á¥ó¥°µ¡Ç½¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
202 ¤³¤ì¤Ë¤Ä¤¤¤Æ¤Ï¡¢Á°½Ò¤Î\fB¥Ñ¥¹Ì¾Å¸³«\fP¤ÇÀâÌÀ¤·¤Æ¤¤¤Þ¤¹¡£
203 .TP 8
204 .B histappend
205 .\"O If set, the history list is appended to the file named by the value
206 .\"O of the
207 .\"O .B HISTFILE
208 .\"O variable when the shell exits, rather than overwriting the file.
209 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥§¥ë¤Î½ªÎ»»þ¤ËÍúÎò¥ê¥¹¥È¤¬ÊÑ¿ô
210 .B HISTFILE
211 ¤ÎÃͤǻØÄꤷ¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤ËÄɲ䵤ì¤Þ¤¹¡£
212 ¥Õ¥¡¥¤¥ë¤Ø¤Î¾å½ñ¤­¤Ï¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
213 .TP 8
214 .B histreedit
215 .\"O If set, and
216 .\"O .B readline
217 .\"O is being used, a user is given the opportunity to re-edit a
218 .\"O failed history substitution.
219 ¤³¤ÎÊÑ¿ô¤¬ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤Ä
220 .B readline
221 ¤¬»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥æ¡¼¥¶¤Ï¼ºÇÔ¤·¤¿ÍúÎòÃÖ´¹¤òºÆÊÔ½¸¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
222 .TP 8
223 .B histverify
224 .\"O If set, and 
225 .\"O .B readline
226 .\"O is being used, the results of history substitution are not immediately
227 .\"O passed to the shell parser.  Instead, the resulting line is loaded into
228 .\"O the \fBreadline\fP editing buffer, allowing further modification.
229 ¤³¤ÎÊÑ¿ô¤¬ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤Ä
230 .B readline
231 ¤¬»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ÍúÎòÃÖ´¹¤Î·ë²Ì¤Ï¨ºÂ¤Ë¤Ï¥·¥§¥ë¤Î¥Ñ¡¼¥¶¤ËÅϤµ¤ì¤Þ¤»¤ó¡£
232 ¤½¤ÎÂå¤ï¤ê¡¢·ë²Ì¤È¤·¤ÆÆÀ¤é¤ì¤¿¹Ô¤Ï \fBreadline\fP ¤ÎÊÔ½¸¥Ð¥Ã¥Õ¥¡¤Ë
233 Æɤ߹þ¤Þ¤ì¡¢¤µ¤é¤Ë½¤Àµ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
234 .TP 8
235 .B hostcomplete
236 .\"O If set, and
237 .\"O .B readline
238 .\"O is being used, \fBbash\fP will attempt to perform hostname completion when a
239 .\"O word containing a \fB@\fP is being completed (see
240 .\"O .B Completing
241 .\"O under
242 .\"O .SM
243 .\"O .B READLINE
244 .\"O above).
245 .\"O This is enabled by default.
246 ¤³¤ÎÊÑ¿ô¤¬ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤Ä
247 .B readline
248 ¤¬»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\fBbash\fP ¤Ï\fB@\fP ¤ò´Þ¤àñ¸ì¤òÊä´°¤¹¤ë»þ¤Ë
249 ¥Û¥¹¥È̾Êä´°¤ò¼Â¹Ô¤·¤è¤¦¤È¤·¤Þ¤¹ (Á°½Ò¤Î
250 .SM
251 .B READLINE ¥é¥¤¥Ö¥é¥ê
252 ¤Î¥»¥¯¥·¥ç¥ó¤Ë¤ª¤±¤ë
253 .B Êä´°
254 ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£
255 ¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
256 .TP 8
257 .B huponexit
258 .\"O If set, \fBbash\fP will send
259 .\"O .SM
260 .\"O .B SIGHUP
261 .\"O to all jobs when an interactive login shell exits.
262 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\fBbash\fP ¤ÏÂÐÏÃŪ¤Ê¥í¥°¥¤¥ó¥·¥§¥ë¤ò½ªÎ»¤¹¤ë»þ¤Ë¡¢
263 Á´¤Æ¤Î¥¸¥ç¥Ö¤Ë
264 .SM
265 .B SIGHUP
266 ¤òÁ÷¤ê¤Þ¤¹¡£
267 .TP 8
268 .B interactive_comments
269 .\"O If set, allow a word beginning with
270 .\"O .B #
271 .\"O to cause that word and all remaining characters on that
272 .\"O line to be ignored in an interactive shell (see
273 .\"O .SM
274 .\"O .B COMMENTS
275 .\"O above).  This option is enabled by default.
276 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
277 .B #
278 ¤Ç»Ï¤Þ¤ëñ¸ì¤Ë¤Ä¤¤¤Æ¡¢¤½¤Îñ¸ì¤È¤½¤Î¹Ô¤Î»Ä¤ê¤Îʸ»ú¤ò
279 ÂÐÏÃŪ¥·¥§¥ë¤Ë̵»ë¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹
280 (Á°½Ò¤Î
281 .SM
282 .B ¥³¥á¥ó¥È
283 ¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£
284 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
285 .TP 8
286 .B lithist
287 .\"O If set, and the
288 .\"O .B cmdhist
289 .\"O option is enabled, multi-line commands are saved to the history with
290 .\"O embedded newlines rather than using semicolon separators where possible.
291 ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤Ä
292 .B cmdhist
293 ¥ª¥×¥·¥ç¥ó¤¬Í­¸ú¤Ê¤é¤Ð¡¢Ê£¿ô¹Ô¤Ëʬ¤«¤ì¤Æ¤¤¤ë¥³¥Þ¥ó¥É¤Ï¡¢
294 ¥»¥ß¥³¥í¥ó¤Ç¶èÀÚ¤é¤ì¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
295 ¤Ç¤­¤ë¸Â¤êÅÓÃæ¤Ë²þ¹Ô¤òËä¤á¹þ¤à¤³¤È¤ÇÍúÎò¤ËÊݸ¤µ¤ì¤Þ¤¹¡£
296 .TP 8
297 .B mailwarn
298 .\"O If set, and a file that \fBbash\fP is checking for mail has been  
299 .\"O accessed since the last time it was checked, the message ``The mail in
300 .\"O \fImailfile\fP has been read'' is displayed.
301 ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤Ä \fBbash\fP ¤¬¥á¡¼¥ë¤ò¥Á¥§¥Ã¥¯¤¹¤ë¥Õ¥¡¥¤¥ë¤¬
302 Á°²ó¤Î¥Á¥§¥Ã¥¯°Ê¹ß¤Ë¥¢¥¯¥»¥¹¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
303 ¥á¥Ã¥»¡¼¥¸ ``The mail in \fImailfile\fP has been read'' ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
304 .TP 8
305 .B no_empty_cmd_completion
306 .\"O If set, and
307 .\"O .B readline
308 .\"O is being used,
309 .\"O .B bash
310 .\"O will not attempt to search the \fBPATH\fP for possible completions when
311 .\"O completion is attempted on an empty line.
312 ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤Ä
313 .B readline
314 ¤¬»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
315 ²¿¤âÆþÎϤµ¤ì¤Æ¤¤¤Ê¤¤¹Ô¤Ç¥³¥Þ¥ó¥ÉÊä´°¤ò¤µ¤»¤è¤¦¤È¤·¤¿¤È¤­¤Ë¡¢
316 .B bash
317 ¤ÏÊä´°¤Î¤¿¤á¤Ë \fBPATH\fP ¤ò¸¡º÷¤·¤è¤¦¤È¤·¤Þ¤»¤ó¡£
318 .TP 8
319 .B nocaseglob
320 .\"O If set,
321 .\"O .B bash
322 .\"O matches filenames in a case\-insensitive fashion when performing pathname
323 .\"O expansion (see
324 .\"O .B Pathname Expansion
325 .\"O above).
326 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
327 .B bash
328 ¤Ï¥Ñ¥¹Ì¾Å¸³« (Á°½Ò¤Î
329 .B ¥Ñ¥¹Ì¾Å¸³«
330 ¤ò»²¾È) ¤ò¹Ô¤¦»þ¤Ë¡¢
331 ¥Õ¥¡¥¤¥ë̾¤ÎÂçʸ»ú¤È¾®Ê¸»ú¤ò¶èÊ̤»¤º¤Ë¥Þ¥Ã¥Á¥ó¥°¤ò¹Ô¤¤¤Þ¤¹¡£
332 .TP 8
333 .B nullglob
334 .\"O If set,
335 .\"O .B bash
336 .\"O allows patterns which match no
337 .\"O files (see
338 .\"O .B Pathname Expansion
339 .\"O above)
340 .\"O to expand to a null string, rather than themselves.
341 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
342 .B bash
343 ¤Ï¤É¤Î¥Õ¥¡¥¤¥ë¤Ë¤â¥Þ¥Ã¥Á¤·¤Ê¤¤¥Ñ¥¿¡¼¥ó (Á°½Ò¤Î
344 .B ¥Ñ¥¹Ì¾Å¸³« 
345 ¤ò»²¾È) ¤ò¡¢¤½¤Îʸ»úÎ󼫿ȤǤϤʤ¯¡¢¶õʸ»úÎó¤ËŸ³«¤·¤Þ¤¹¡£
346 .TP 8
347 .B progcomp
348 .\"O If set, the programmable completion facilities (see
349 .\"O \fBProgrammable Completion\fP above) are enabled.
350 .\"O This option is enabled by default.
351 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥×¥í¥°¥é¥àÊä´°µ¡Ç½
352 (Á°½Ò¤Î\fB¥×¥í¥°¥é¥àÊä´°\fP¤ò»²¾È) ¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
353 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
354 .TP 8
355 .B promptvars
356 .\"O If set, prompt strings undergo variable and parameter expansion after
357 .\"O being expanded as described in
358 .\"O .SM
359 .\"O .B PROMPTING
360 .\"O above.  This option is enabled by default.
361 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥×¥í¥ó¥×¥Èʸ»úÎó¤ËÂФ·¤ÆÊÑ¿ôŸ³«¤È¥Ñ¥é¥á¡¼¥¿Å¸³«¤¬
362 ¹Ô¤ï¤ì¤Þ¤¹¡£¤³¤ÎŸ³«¤ÏÁ°½Ò¤Î
363 .SM
364 .B ¥×¥í¥ó¥×¥È
365 ¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤¿Å¸³«¤¬¹Ô¤ï¤ì¤¿¸å¤Ë¹Ô¤ï¤ì¤Þ¤¹¡£
366 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
367 .TP 8
368 .B restricted_shell
369 .\"O The shell sets this option if it is started in restricted mode (see
370 .\"O .SM
371 .\"O .B "RESTRICTED SHELL"
372 .\"O below).
373 .\"O The value may not be changed.
374 ¥·¥§¥ë¤¬À©¸Â¥â¡¼¥É¤Çµ¯Æ°¤µ¤ì¤¿¾ì¹ç¡¢
375 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤Þ¤¹ (¸å½Ò¤Î
376 .SM
377 .B À©¸ÂÉÕ¤­¤Î¥·¥§¥ë
378 ¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£
379 ¤³¤ÎÃͤòÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
380 .\"O This is not reset when the startup files are executed, allowing
381 .\"O the startup files to discover whether or not a shell is restricted.
382 ¤³¤ì¤Ïµ¯Æ°¥Õ¥¡¥¤¥ë¤¬¼Â¹Ô¤µ¤ì¤ë»þ¤Ë¤â¥ê¥»¥Ã¥È¤µ¤ì¤Ê¤¤¤Î¤Ç¡¢¥·¥§¥ë¤¬À©¸Â
383 ÉÕ¤­¤«¤É¤¦¤«¤òµ¯Æ°¥Õ¥¡¥¤¥ëÆâÉô¤ÇÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£
384 .TP 8
385 .B shift_verbose
386 .\"O If set, the
387 .\"O .B shift
388 .\"O builtin prints an error message when the shift count exceeds the
389 .\"O number of positional parameters.
390 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ÁȤ߹þ¤ß¥³¥Þ¥ó¥É
391 .B shift
392 ¤Ë¤ª¤¤¤Æ¥·¥Õ¥È¤Î²ó¿ô¤¬°ÌÃÖÉÕ¤­¥Ñ¥é¥á¡¼¥¿¤Î¿ô¤òĶ¤¨¤ë¤È¡¢
393 ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½ÐÎϤµ¤ì¤Þ¤¹¡£
394 .TP 8
395 .B sourcepath
396 .\"O If set, the
397 .\"O \fBsource\fP (\fB.\fP) builtin uses the value of
398 .\"O .SM
399 .\"O .B PATH
400 .\"O to find the directory containing the file supplied as an argument.
401 .\"O This option is enabled by default.
402 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ÁȤ߹þ¤ß¥³¥Þ¥ó¥É \fBsource\fP (\fB.\fP) ¤Ï
403 .SM
404 .B PATH
405 ¤ÎÃͤò»È¤Ã¤Æ¡¢°ú¤­¿ô¤È¤·¤ÆÍ¿¤¨¤é¤ì¤¿¥Õ¥¡¥¤¥ë¤ò´Þ¤à¥Ç¥£¥ì¥¯¥È¥ê¤ò¸«¤Ä¤±¤Þ¤¹¡£
406 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£
407 .TP 8
408 .B xpg_echo
409 .\"O If set, the \fBecho\fP builtin expands backslash-escape sequences
410 .\"O by default.
411 ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
412 ÁȤ߹þ¤ß¥³¥Þ¥ó¥É \fBecho\fP ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç
413 ¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Ë¤è¤ë¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤òŸ³«¤·¤Þ¤¹¡£
414 .RE
415 .TP
416 \fBsuspend\fP [\fB\-f\fP]
417 .\"O Suspend the execution of this shell until it receives a
418 .\"O .SM
419 .\"O .B SIGCONT
420 .\"O signal.  The
421 .\"O .B \-f
422 .\"O option says not to complain if this is 
423 .\"O a login shell; just suspend anyway.  The return status is 0 unless
424 .\"O the shell is a login shell and
425 .\"O .B \-f
426 .\"O is not supplied, or if job control is not enabled.
427 .SM
428 .B SIGCONT
429 ¥·¥°¥Ê¥ë¤ò¼õ¤±¼è¤ë¤Þ¤Ç¡¢¥·¥§¥ë¤Î¼Â¹Ô¤ò¥µ¥¹¥Ú¥ó¥É¤·¤Þ¤¹¡£
430 .B \-f
431 ¥ª¥×¥·¥ç¥ó¤òÍ¿¤¨¤¿¾ì¹ç¡¢¥·¥§¥ë¤¬¥í¥°¥¤¥ó¥·¥§¥ë¤Ç¤¢¤Ã¤Æ¤â·Ù¹ð¤ò½Ð¤·¤Þ¤»¤ó¡£
432 ¤¿¤À¤·¡¢¤É¤Á¤é¤Ë¤»¤è¥µ¥¹¥Ú¥ó¥É¤Ï¤·¤Þ¤¹¡£
433 ¥·¥§¥ë¤¬¥í¥°¥¤¥ó¥·¥§¥ë¤Ç¤¢¤ê¡¢¤«¤Ä
434 .B \-f
435 ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤È¥¸¥ç¥ÖÀ©¸æ¤¬Í­¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ç¤Ê¤±¤ì¤Ð¡¢
436 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï 0 ¤Ç¤¹¡£
437 .TP
438 .PD 0
439 \fBtest\fP \fIexpr\fP
440 .TP
441 \fB[\fP \fIexpr\fP \fB]\fP
442 .\"O Return a status of 0 or 1 depending on
443 .\"O the evaluation of the conditional expression
444 .\"O .IR expr .
445 ¾ò·ï¼°
446 .IR expr
447 ¤òɾ²Á¤·¤¿·ë²Ì¤Ë´ð¤Å¤¤¤Æ¡¢¥¹¥Æ¡¼¥¿¥¹ 0 ¤Þ¤¿¤Ï 1 ¤òÊÖ¤·¤Þ¤¹¡£
448 .\"O Each operator and operand must be a separate argument.
449 .\"O Expressions are composed of the primaries described above under
450 .\"O .SM
451 .\"O .BR "CONDITIONAL EXPRESSIONS" .
452 ¤½¤ì¤¾¤ì¤Î±é»»»Ò¤È¥ª¥Ú¥é¥ó¥É¤ÏÊÌ¡¹¤Î°ú¤­¿ô¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
453 ¼°¤ÏÁ°½Ò¤Î
454 .SM
455 .B ¾ò·ï¼°
456 ¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤¿¥×¥é¥¤¥Þ¥ê¤Ç¹½À®¤µ¤ì¤Þ¤¹¡£
457 .if t .sp 0.5
458 .if n .sp 1
459 .\"O Expressions may be combined using the following operators, listed
460 .\"O in decreasing order of precedence.
461 ¼°¤Ï°Ê²¼¤Ë¼¨¤¹±é»»»Ò¤ò»È¤Ã¤Æ·ë¹ç¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
462 ¥ê¥¹¥È¤ÏÍ¥ÀèÅ٤ι⤤½ç¤Ë¼¨¤·¤Æ¤¤¤Þ¤¹¡£
463 .RS
464 .PD 0
465 .TP
466 .B ! \fIexpr\fP
467 .\"O True if
468 .\"O .I expr
469 .\"O is false.
470 .I expr
471 ¤¬µ¶¤Ê¤é¤Ð¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
472 .TP
473 .B ( \fIexpr\fP )
474 .\"O Returns the value of \fIexpr\fP.
475 .\"O This may be used to override the normal precedence of operators.
476 \fIexpr\fP ¤ÎÃͤòÊÖ¤·¤Þ¤¹¡£
477 ¤³¤ì¤ò»È¤Ã¤Æ¡¢Ä̾ï¤Î±é»»»Ò¤ÎÍ¥ÀèÅÙ¤ò¾å½ñ¤­¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
478 .TP
479 \fIexpr1\fP \-\fBa\fP \fIexpr2\fP
480 .\"O True if both
481 .\"O .I expr1
482 .\"O and
483 .\"O .I expr2
484 .\"O are true.
485 .I expr1
486 ¤È
487 .I expr2
488 ¤¬Î¾Êý¤È¤â¿¿¤Ê¤é¤Ð¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
489 .TP
490 \fIexpr1\fP \-\fBo\fP \fIexpr2\fP
491 .\"O True if either
492 .\"O .I expr1
493 .\"O or
494 .\"O .I expr2
495 .\"O is true.
496 .I expr1
497 ¤È
498 .I expr2
499 ¤Î¤¤¤º¤ì¤«¤¬¿¿¤Ê¤é¤Ð¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
500 .PD
501 .PP
502 \fBtest\fP and \fB[\fP
503 .\"O \fBtest\fP and \fB[\fP evaluate conditional
504 .\"O expressions using a set of rules based on the number of arguments.
505 °ú¤­¿ô¤Î¿ô¤Ë´ð¤Å¤¤¤¿µ¬Â§¤Î½¸¹ç¤òÍѤ¤¤Æ¾ò·ï¼°¤òɾ²Á¤·¤Þ¤¹¡£
506 .if t .sp 0.5
507 .if n .sp 1
508 .PD 0
509 .TP
510 .\"O 0 arguments
511 °ú¤­¿ô¤¬ 0 ¸Ä
512 .\"O The expression is false.
513 ¤³¤Î¼°¤Ïµ¶¤Ç¤¹¡£
514 .TP
515 .\"O 1 argument
516 °ú¤­¿ô¤¬ 1 ¸Ä
517 .\"O The expression is true if and only if the argument is not null.
518 °ú¤­¿ô¤¬¶õ¤Ç¤Ê¤¤¾ì¹ç¤Ë¸Â¤ê¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
519 .TP
520 .\"O 2 arguments
521 °ú¤­¿ô¤¬ 2 ¸Ä
522 .\"O If the first argument is \fB!\fP, the expression is true if and
523 .\"O only if the second argument is null.
524 .\"O If the first argument is one of the unary conditional operators listed above
525 .\"O under
526 .\"O .SM
527 .\"O .BR "CONDITIONAL EXPRESSIONS" ,
528 .\"O the expression is true if the unary test is true.
529 .\"O If the first argument is not a valid unary conditional operator, the expression
530 .\"O is false.
531 ºÇ½é¤Î°ú¤­¿ô¤¬ \fB!\fP ¤Ê¤é¤Ð¡¢
532 2 ÈÖÌܤΰú¤­¿ô¤¬¶õ¤Î¾ì¹ç¤Ë¸Â¤ê¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
533 ºÇ½é¤Î°ú¤­¿ô¤¬¡¢´û¤Ë
534 .SM
535 .B ¾ò·ï¼°
536 ¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤¿Ã±¹à¾ò·ï±é»»»Ò¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ì¤Ð¡¢
537 ñ¹à¤Îɾ²Á¤¬¿¿¤Î¾ì¹ç¤Ë¼°¤Ï¿¿¤È¤Ê¤ê¤Þ¤¹¡£
538 ºÇ½é¤Î°ú¤­¿ô¤¬Àµ¤·¤¤Ã±¹à¾ò·ï±é»»»Ò¤Ç¤Ê¤±¤ì¤Ð¡¢¼°¤Ïµ¶¤È¤Ê¤ê¤Þ¤¹¡£
539 .TP
540 .\"O 3 arguments
541 °ú¤­¿ô¤¬ 3 ¸Ä
542 .\"O If the second argument is one of the binary conditional operators listed above
543 .\"O under
544 .\"O .SM
545 .\"O .BR "CONDITIONAL EXPRESSIONS" ,
546 .\"O the result of the expression is the result of the binary test using
547 .\"O the first and third arguments as operands.
548 .\"O If the first argument is \fB!\fP, the value is the negation of
549 .\"O the two-argument test using the second and third arguments.
550 .\"O If the first argument is exactly \fB(\fP and the third argument is
551 .\"O exactly \fB)\fP, the result is the one-argument test of the second
552 .\"O argument.
553 .\"O Otherwise, the expression is false.
554 .\"O The \fB\-a\fP and \fB\-o\fP operators are considered binary operators
555 .\"O in this case.  
556 2 ÈÖÌܤΰú¤­¿ô¤¬¡¢´û¤Ë
557 .SM
558 .B ¾ò·ï¼°
559 ¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤¿ÆóÃ;ò·ï±é»»»Ò¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ì¤Ð¡¢
560 ºÇ½é¤È 3 ÈÖÌܤΰú¤­¿ô¤ò¥ª¥Ú¥é¥ó¥É¤È¤·¤Æ»È¤Ã¤¿
561 ÆóÃÍɾ²Á¤Î·ë²Ì¤¬¼°¤Î·ë²Ì¤È¤Ê¤ê¤Þ¤¹¡£
562 ºÇ½é¤Î°ú¤­¿ô¤¬ \fB!\fP ¤Ç¤¢¤ì¤Ð¡¢2 ÈÖÌܤȠ3 ÈÖÌܤΰú¤­¿ô¤ò»È¤Ã¤¿¡¢
563 °ú¤­¿ô 2 ¤Ä¤Îɾ²Á¤Î·ë²Ì¤òÈÝÄꤷ¤¿¤â¤Î¤¬ÃͤȤʤê¤Þ¤¹¡£
564 ºÇ½é¤Î°ú¤­¿ô¤¬ \fB(\fP ¤Ç¤¢¤ê¡¢3 ÈÖÌܤΰú¤­¿ô¤¬ \fB)\fP ¤Ê¤é¤Ð¡¢
565 2 ÈÖÌܤΰú¤­¿ô¤ò»È¤Ã¤Æ°ú¤­¿ô 1 ¤Ä¤Îɾ²Á¤ò¹Ô¤Ã¤¿Ãͤ¬·ë²Ì¤È¤Ê¤ê¤Þ¤¹¡£
566 ¤³¤ì¤é°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢¼°¤Ïµ¶¤È¤Ê¤ê¤Þ¤¹¡£
567 ¤³¤Î¾ì¹ç¤Ë¤ª¤¤¤Æ¤Ï¡¢\fB\-a\fP ¤È \fB\-o\fP ¤ÏÆóÃͱ黻»Ò¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
568 .TP
569 .\"O 4 arguments
570 °ú¤­¿ô¤¬ 4 ¸Ä
571 .\"O If the first argument is \fB!\fP, the result is the negation of
572 .\"O the three-argument expression composed of the remaining arguments.
573 .\"O Otherwise, the expression is parsed and evaluated according to 
574 .\"O precedence using the rules listed above.
575 ºÇ½é¤Î°ú¤­¿ô¤¬ \fB!\fP ¤Ê¤é¤Ð¡¢
576 »Ä¤ê¤Î°ú¤­¿ô¤Çºî¤Ã¤¿°ú¤­¿ô 3 ¤Ä¤Î¼°¤ÎÃͤòÈÝÄꤷ¤¿¤â¤Î¤¬·ë²Ì¤È¤Ê¤ê¤Þ¤¹¡£
577 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢Àè¤Ëµó¤²¤¿µ¬Â§¤ò»È¤Ã¤¿Í¥ÀèÅ٤˽¾¤Ã¤Æ
578 ¼°¤¬Å¸³«¡¦É¾²Á¤µ¤ì¤Þ¤¹¡£
579 .TP
580 .\"O 5 or more arguments
581 °ú¤­¿ô¤¬ 5 ¸Ä°Ê¾å
582 .\"O The expression is parsed and evaluated according to precedence
583 .\"O using the rules listed above.
584 Àè¤Ëµó¤²¤¿µ¬Â§¤ò»È¤Ã¤¿Í¥ÀèÅ٤˽¾¤Ã¤Æ¼°¤¬Å¸³«¡¦É¾²Á¤µ¤ì¤Þ¤¹¡£
585 .RE
586 .PD
587 .TP
588 .B times
589 .\"O Print the accumulated user and system times for the shell and
590 .\"O for processes run from the shell.  The return status is 0.
591 ¥·¥§¥ë¤È¥·¥§¥ë¤«¤é¼Â¹Ô¤·¤¿¥×¥í¥»¥¹¤Ë¤Ä¤¤¤Æ¡¢
592 ¥æ¡¼¥¶»þ´Ö¤È¥·¥¹¥Æ¥à»þ´Ö¤ò²Ã¤¨¤¿¤â¤Î¤ò½ÐÎϤ·¤Þ¤¹¡£
593 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï 0 ¤Ç¤¹¡£
594 .TP
595 \fBtrap\fP [\fB\-lp\fP] [\fIarg\fP] [\fIsigspec\fP ...]
596 .\"O The command
597 .\"O .I arg
598 .\"O is to be read and executed when the shell receives
599 .\"O signal(s)
600 .\"O .IR sigspec .
601 ¥·¥§¥ë¤¬¥·¥°¥Ê¥ë
602 .IR sigspec
603 ¤ò¼õ¤±¼è¤ë¤È¡¢¥³¥Þ¥ó¥É
604 .I arg
605 ¤¬Æɤ߹þ¤Þ¤ì¤Æ¡¢¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
606 .\"O If
607 .\"O .I arg
608 .\"O is absent or
609 .\"O .BR \- ,
610 .\"O all specified signals are
611 .\"O reset to their original values (the values they had
612 .\"O upon entrance to the shell).
613 .I arg
614 ¤¬Â¸ºß¤·¤Ê¤¤¤«¡¢
615 .B \-
616 ¤Ç¤¢¤ë¾ì¹ç¡¢
617 »ØÄꤵ¤ì¤Æ¤¤¤ë¥·¥°¥Ê¥ë¤ÏÁ´¤ÆºÇ½é¤ÎÃÍ
618 (¥·¥§¥ë¤Îµ¯Æ°»þ¤ËÀßÄꤵ¤ì¤Æ¤¤¤¿ÃÍ) ¤Ë¥ê¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£
619 .\"O If 
620 .\"O .I arg
621 .\"O is the null string the signal specified by each
622 .\"O .I sigspec
623 .\"O is ignored by the shell and by the commands it invokes.
624 .I arg
625 ¤¬¶õʸ»úÎó¤Ç¤¢¤ë¾ì¹ç¡¢¤½¤ì¤¾¤ì¤Î
626 .I sigspec
627 ¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¥·¥°¥Ê¥ë¤Ï¡¢
628 ¥·¥§¥ë¤È¥·¥§¥ë¤¬µ¯Æ°¤·¤¿¥³¥Þ¥ó¥É¤«¤é̵»ë¤µ¤ì¤Þ¤¹¡£
629 .\"O If
630 .\"O .I arg
631 .\"O is not present and
632 .\"O .B \-p
633 .\"O has been supplied, then the trap commands associated with each
634 .\"O .I sigspec
635 .\"O are displayed.
636 .\"O If no arguments are supplied or if only
637 .\"O .B \-p
638 .\"O is given,
639 .\"O .B trap
640 .\"O prints the list of commands associated with each signal number.
641 .I arg
642 ¤Ê¤·¤Ç
643 .B \-p
644 ¥ª¥×¥·¥ç¥ó¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¡¢
645 ³Æ
646 .I sigspec
647 ¤ËÂбþ¤¹¤ë trap ¥³¥Þ¥ó¥É¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
648 °ú¤­¿ô¤¬Á´¤¯Ìµ¤¤¤«¡¢
649 .B \-p
650 ¤À¤±¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¡¢
651 .B trap
652 ¤Ï³Æ¥·¥°¥Ê¥ëÈÖ¹æ¤ËÂбþ¤¹¤ë¥³¥Þ¥ó¥É¤Î¥ê¥¹¥È¤ò½ÐÎϤ·¤Þ¤¹¡£
653 .\"O Each
654 .\"O .I sigspec
655 .\"O is either
656 .\"O a signal name defined in <\fIsignal.h\fP>, or a signal number.
657 ¤½¤ì¤¾¤ì¤Î
658 .I sigspec
659 ¤Ï¡¢<\fIsignal.h\fP> ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥·¥°¥Ê¥ë̾¤Þ¤¿¤Ï¥·¥°¥Ê¥ëÈÖ¹æ¤Ç¤¹¡£
660 .\"O If a
661 .\"O .I sigspec
662 .\"O is
663 .\"O .SM
664 .\"O .B EXIT
665 .\"O (0) the command
666 .\"O .I arg
667 .\"O is executed on exit from the shell.  If a
668 .\"O .I sigspec
669 .\"O is
670 .\"O .SM
671 .\"O .BR DEBUG ,
672 .\"O the command
673 .\"O .I arg
674 .\"O is executed after every \fIsimple command\fP (see
675 .\"O .SM
676 .\"O .B SHELL GRAMMAR
677 .\"O above).
678 .I sigspec
679 ¤¬
680 .SM
681 .B EXIT
682 (0) ¤Ç¤¢¤ì¤Ð¡¢¥·¥§¥ë¤Î½ªÎ»»þ¤Ë¥³¥Þ¥ó¥É
683 .I arg
684 ¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
685 .I sigspec
686 ¤¬
687 .SM
688 .B DEBUG
689 ¤Ç¤¢¤ì¤Ð¡¢\fIñ½ã¤Ê¥³¥Þ¥ó¥É\fP (Á°½Ò¤Î
690 .SM
691 .B ¥·¥§¥ë¤Îʸˡ
692 ¥»¥¯¥·¥ç¥ó¤ò»²¾È) ¤¬½ª¤ï¤ë¤¿¤Ó¤Ë¥³¥Þ¥ó¥É
693 .I arg
694 ¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
695 .\"O The
696 .\"O .B \-l
697 .\"O option causes the shell to print a list of signal names and
698 .\"O their corresponding numbers.
699 .B \-l
700 ¥ª¥×¥·¥ç¥ó¤òÍ¿¤¨¤ë¤È¡¢
701 ¥·¥§¥ë¤Ï¥·¥°¥Ê¥ë̾¤È¤³¤ì¤ËÂбþ¤¹¤ëÈÖ¹æ¤Î¥ê¥¹¥È¤ò½ÐÎϤ·¤Þ¤¹¡£
702 .\"O Signals ignored upon entry to the shell cannot be trapped or reset.
703 .\"O Trapped signals are reset to their original values in a child
704 .\"O process when it is created.
705 ¥·¥§¥ë¤Î¥¨¥ó¥È¥ê¤Ç̵»ë¤µ¤ì¤ë¥·¥°¥Ê¥ë¤Ï¡¢
706 ¥È¥é¥Ã¥×¤¹¤ë¤³¤È¤â¥ê¥»¥Ã¥È¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤»¤ó¡£
707 ¥È¥é¥Ã¥×¤µ¤ì¤¿¥·¥°¥Ê¥ë¤Ï¥ê¥»¥Ã¥È¤µ¤ì¡¢
708 »Ò¥×¥í¥»¥¹¤¬À¸À®¤µ¤ì¤¿»þ¤ÎºÇ½é¤ÎÃͤËÌá¤ê¤Þ¤¹¡£
709 .\"O The return status is false if any
710 .\"O .I sigspec
711 .\"O is invalid; otherwise
712 .\"O .B trap
713 .\"O returns true.
714 .I sigspec
715 ¤Î¤¤¤º¤ì¤«¤¬ÉÔÀµ¤Ç¤¢¤ì¤Ð¡¢Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ïµ¶¤Ë¤Ê¤ê¤Þ¤¹¡£
716 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢
717 .B trap
718 ¤Ï¿¿¤òÊÖ¤·¤Þ¤¹¡£
719 .TP
720 \fBtype\fP [\fB\-atp\fP] \fIname\fP [\fIname\fP ...]
721 .\"O With no options, 
722 .\"O indicate how each
723 .\"O .I name
724 .\"O would be interpreted if used as a command name.
725 ¥ª¥×¥·¥ç¥ó̵¤·¤Î¾ì¹ç¤Ë¤Ï¡¢³Æ
726 .I name
727 ¤ò¥³¥Þ¥ó¥É̾¤È¤·¤Æ»È¤Ã¤¿¤È¤­¤Ë¡¢¤½¤ì¤¬¤É¤Î¤è¤¦¤Ë²ò¼á¤µ¤ì¤ë¤«¤ò¼¨¤·¤Þ¤¹¡£
728 .\"O If the
729 .\"O .B \-t
730 .\"O option is used,
731 .\"O .B type
732 .\"O prints a string which is one of
733 .\"O .IR alias ,
734 .\"O .IR keyword ,
735 .\"O .IR function ,
736 .\"O .IR builtin ,
737 .\"O or
738 .\"O .I file 
739 .\"O if
740 .\"O .I name
741 .\"O is an alias, shell reserved word, function, builtin, or disk file,
742 .\"O respectively.
743 .B \-t
744 ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢
745 .I name
746 ¤¬¡¢¥¨¥¤¥ê¥¢¥¹¡¦¥·¥§¥ë¤ÎͽÌó¸ì¡¦´Ø¿ô¡¦
747 ÁȤ߹þ¤ß¥³¥Þ¥ó¥É¡¦¥Ç¥£¥¹¥¯¾å¤Î¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¡¢
748 .B type
749 ¤Ï¤½¤ì¤¾¤ì¤Î¾ì¹ç¤Ë¤Ä¤¤¤Æ
750 .IR alias ,
751 .IR keyword ,
752 .IR function ,
753 .IR builtin ,
754 .I file
755 ¤È¤¤¤¦Ê¸»úÎó¤ò½ÐÎϤ·¤Þ¤¹¡£
756 .\"O If the
757 .\"O .I name
758 .\"O is not found, then nothing is printed, and an exit status of false
759 .\"O is returned.
760 .I name
761 ¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤Ï²¿¤â½ÐÎϤµ¤ì¤º¡¢µ¶¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
762 .\"O If the
763 .\"O .B \-p
764 .\"O option is used,
765 .\"O .B type
766 .\"O either returns the name of the disk file
767 .\"O that would be executed if
768 .\"O .I name
769 .\"O were specified as a command name,
770 .\"O or nothing if \f(CWtype -t name\fP
771 .\"O would not return
772 .\"O .IR file .
773 .B \-p
774 ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢
775 .B type
776 ¤Ï¡¢
777 .I name
778 ¤ò¥³¥Þ¥ó¥É̾¤È¤·¤Æ»ØÄꤷ¤¿¾ì¹ç¤Ë¼Â¹Ô¤µ¤ì¤ë¥Ç¥£¥¹¥¯¥Õ¥¡¥¤¥ë¤Î̾Á°¡¢
779 ¤Þ¤¿¤Ï¶õʸ»úÎó¤òÊÖ¤·¤Þ¤¹¡£
780 ¶õʸ»úÎó¤¬ÊÖ¤µ¤ì¤ë¤Î¤Ï¡¢\f(CWtype -t name\fP ¤¬
781 .IR file
782 ¤òÊÖ¤µ¤Ê¤¤¾ì¹ç¤Ç¤¹¡£
783 .\"O If a command is hashed,
784 .\"O .B \-p
785 .\"O prints the hashed value, not necessarily the file that appears
786 .\"O first in 
787 .\"O .SM
788 .\"O .BR PATH .
789 ¥³¥Þ¥ó¥É¤¬¥Ï¥Ã¥·¥å¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
790 .B \-p
791 ¤Ï¥Ï¥Ã¥·¥å¤µ¤ì¤Æ¤¤¤ëÃͤòɽ¼¨¤·¤Þ¤¹¡£
792 ɽ¼¨¤µ¤ì¤ë¤Î¤Ï¡¢É¬¤º¤·¤â
793 .SM
794 .BR PATH
795 Ãæ¤ÇºÇ½é¤Ë¸½¤ï¤ì¤ë¥Õ¥¡¥¤¥ë¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£
796 .\"O If the
797 .\"O .B \-a
798 .\"O option is used, 
799 .\"O .B type
800 .\"O prints all of the places that contain
801 .\"O an executable named 
802 .\"O .IR name .
803 .B \-a
804 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¾ì¹ç¡¢
805 .B type
806 ¤Ï
807 .IR name
808 ¤¬¼¨¤¹¼Â¹Ô¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¾ì½ê¤òÁ´¤Æ½ÐÎϤ·¤Þ¤¹¡£
809 .\"O This includes aliases and functions,
810 .\"O if and only if the 
811 .\"O .B \-p
812 .\"O option is not also used.
813 .B \-p
814 ¥ª¥×¥·¥ç¥ó¤¬Æ±»þ¤Ë»È¤ï¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¸Â¤ê¡¢
815 ¥¨¥¤¥ê¥¢¥¹¤ä´Ø¿ô¤â½ÐÎϤµ¤ì¤Þ¤¹¡£
816 .\"O The table of hashed commands is not consulted
817 .\"O when using
818 .\"O .BR \-a .
819 .\"O .B type
820 .\"O returns true if any of the arguments are found, false if
821 .\"O none are found.
822 .B \-a
823 ¤ò»È¤¦»þ¤Ë¤Ï¡¢¥Ï¥Ã¥·¥å¤µ¤ì¤Æ¤¤¤ë¥³¥Þ¥ó¥É¤Îɽ¤Ï»²¾È¤µ¤ì¤Þ¤»¤ó¡£
824 .B type
825 ¤Ï¡¢°ú¤­¿ô¤Î¤¤¤º¤ì¤«¤¬¸«¤Ä¤«¤ì¤Ð¿¿¤òÊÖ¤·¡¢
826 ¤É¤ì¤â¸«¤Ä¤«¤é¤Ê¤±¤ì¤Ðµ¶¤òÊÖ¤·¤Þ¤¹¡£
827 .TP
828 \fBulimit\fP [\fB\-SHacdflmnpstuv\fP [\fIlimit\fP]]
829 .\"O Provides control over the resources available to the shell and to
830 .\"O processes started by it, on systems that allow such control.  The
831 .\"O value of
832 .\"O .I limit
833 .\"O can be a number in the unit specified for the resource, or the
834 .\"O value
835 .\"O .BR unlimited .
836 ¤³¤ì¤ò»È¤¦¤È¡¢¥·¥§¥ë¤ª¤è¤Ó¥·¥§¥ë¤¬µ¯Æ°¤¹¤ë¥×¥í¥»¥¹¤¬
837 ÍøÍѤǤ­¤ë¥ê¥½¡¼¥¹¤òÀ©¸æ¤Ç¤­¤Þ¤¹¡£
838 ¤¿¤À¤·¡¢¤³¤Î¤è¤¦¤ÊÀ©¸æ¤¬¤Ç¤­¤ë¥·¥¹¥Æ¥à¤Î¾ì¹ç¤Ë¸Â¤ê¤Þ¤¹¡£
839 .I limit
840 ¤ÎÃͤϥ꥽¡¼¥¹¤ËÂФ·¤Æ»ØÄꤵ¤ì¤Æ¤¤¤ëñ°Ì¤Î¿ô¡¢¤Þ¤¿¤Ï
841 .B unlimited
842 ¤Ç¤¹¡£
843 .\"O The \fB\-H\fP and \fB\-S\fP options specify that the hard or soft limit is
844 .\"O set for the given resource.  A hard limit cannot be increased once it
845 .\"O is set; a soft limit may be increased up to the value of the hard limit.
846 .\"O If neither \fB\-H\fP nor \fB\-S\fP is specified, both the soft and hard
847 .\"O limits are set.
848 \fB\-H\fP ¥ª¥×¥·¥ç¥ó¤È \fB\-S\fP ¥ª¥×¥·¥ç¥ó¤Ï¡¢
849 Í¿¤¨¤é¤ì¤¿¥ê¥½¡¼¥¹¤ËÂФ·¤Æ¶¯¤¤ (hard) À©¸Â¤ä¼å¤¤ (soft) À©¸Â¤òÀßÄꤷ¤Þ¤¹¡£
850 ¶¯¤¤À©¸Â¤Ï°ìÅÙÀßÄꤹ¤ÈÁý¤ä¤¹¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£
851 ¼å¤¤À©¸Â¤Ï¶¯¤¤À©¸Â¤ÎÃͤޤǤÏÁý¤ä¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
852 \fB\-H\fP ¤È \fB\-S\fP ¤¬¤É¤Á¤é¤â»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
853 ¶¯¤¤À©¸Â¤È¼å¤¤À©¸Â¤¬¤É¤Á¤é¤âÀßÄꤵ¤ì¤Þ¤¹¡£
854 .\"O If
855 .\"O .I limit
856 .\"O is omitted, the current value of the soft limit of the resource is
857 .\"O printed, unless the \fB\-H\fP option is given.  When more than one
858 .\"O resource is specified, the limit name and unit are printed before the value.
859 .\"O Other options are interpreted as follows:
860 .I limit
861 ¤ò¾Êά¤¹¤ë¤È¡¢¥ê¥½¡¼¥¹¤Î¼å¤¤À©¸Â¤Î¸½ºßÃͤ¬É½¼¨¤µ¤ì¤Þ¤¹¡£
862 ¤¿¤À¤·¡¢\fB\-H\fP ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï½ü¤­¤Þ¤¹¡£
863 Ê£¿ô¤Î¥ê¥½¡¼¥¹¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë»þ¤Ï¡¢À©¸Â̾¤Èñ°Ì¤¬ÃͤÎÁ°¤Ë½ÐÎϤµ¤ì¤Þ¤¹¡£
864 ¾¤Î¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤Î¤è¤¦¤Ë²ò¼á¤µ¤ì¤Þ¤¹:
865 .RS
866 .PD 0
867 .TP
868 .B \-a
869 .\"O All current limits are reported
870 ¸½ºß¤ÎÀ©¸Â¤òÁ´¤ÆÊó¹ð¤·¤Þ¤¹
871 .TP
872 .B \-c
873 .\"O The maximum size of core files created
874 À¸À®¤µ¤ì¤ë¥³¥¢¥Õ¥¡¥¤¥ë (core) ¤ÎºÇÂ祵¥¤¥º
875 .TP
876 .B \-d
877 .\"O The maximum size of a process's data segment
878 ¥×¥í¥»¥¹¤Î¥Ç¡¼¥¿¥»¥°¥á¥ó¥È¤ÎºÇÂ祵¥¤¥º
879 .TP
880 .B \-f
881 .\"O The maximum size of files created by the shell
882 ¥·¥§¥ë¤¬À¸À®¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¤ÎºÇÂ祵¥¤¥º
883 .TP
884 .B \-l
885 .\"O The maximum size that may be locked into memory
886 ¥á¥â¥ê¤Ë¥í¥Ã¥¯¤Ç¤­¤ëºÇÂ祵¥¤¥º
887 .TP
888 .B \-m
889 .\"O The maximum resident set size
890 ¾ïÃ󥻥åȥµ¥¤¥º¤ÎºÇÂçÃÍ
891 .TP
892 .B \-n
893 .\"O The maximum number of open file descriptors (most systems do not
894 .\"O allow this value to be set)
895 ¥ª¡¼¥×¥ó¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¥Ç¥¹¥¯¥ê¥×¥¿¤ÎºÇÂç¿ô
896 (¤Û¤È¤ó¤É¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¤³¤ÎÃͤòÀßÄꤹ¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó)
897 .TP
898 .B \-p
899 .\"O The pipe size in 512-byte blocks (this may not be set)
900 512 ¥Ð¥¤¥È¥Ö¥í¥Ã¥¯Ã±°Ì¤Ç¤Î¥Ñ¥¤¥×¤Î¥µ¥¤¥º
901 (¤³¤ì¤ÏÀßÄê¤Ç¤­¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó)
902 .TP
903 .B \-s
904 .\"O The maximum stack size
905 ºÇÂ祹¥¿¥Ã¥¯¥µ¥¤¥º
906 .TP
907 .B \-t
908 .\"O The maximum amount of cpu time in seconds
909 CPU »þ´Ö¤ÎºÇÂçÎÌ (ÉÃñ°Ì)
910 .TP
911 .B \-u
912 .\"O The maximum number of processes available to a single user
913 1 ¿Í¤Î¥æ¡¼¥¶¤¬»ÈÍѤǤ­¤ëºÇÂç¤Î¥×¥í¥»¥¹¿ô
914 .TP
915 .B \-v
916 .\"O The maximum amount of virtual memory available to the shell
917 ¥·¥§¥ë¤¬»ÈÍѤǤ­¤ëºÇÂç¤Î²¾ÁÛ¥á¥â¥êÎÌ
918 .PD
919 .PP
920 .\"O If
921 .\"O .I limit
922 .\"O is given, it is the new value of the specified resource (the
923 .\"O .B \-a
924 .\"O option is display only).
925 .I limit
926 ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤³¤ì¤Ï»ØÄꤵ¤ì¤¿¥ê¥½¡¼¥¹¤Î¿·¤·¤¤ÃͤȤʤê¤Þ¤¹
927 .RB ( \-a
928 ¤Ïɽ¼¨ÀìÍѤǤ¹)¡£
929 .\"O If no option is given, then
930 .\"O .B \-f
931 .\"O is assumed.  Values are in 1024-byte increments, except for
932 .\"O .BR \-t ,
933 .\"O which is in seconds,
934 .\"O .BR \-p ,
935 .\"O which is in units of 512-byte blocks,
936 .\"O and
937 .\"O .B \-n
938 .\"O and
939 .\"O .BR \-u ,
940 .\"O which are unscaled values.  The return status is 0
941 .\"O unless an invalid option is encountered, a non-numeric argument
942 .\"O other than \fBunlimited\fP is supplied as \fIlimit\fP, or an
943 .\"O error occurs while setting a new limit.
944 ¥ª¥×¥·¥ç¥ó¤¬Á´¤¯Í¿¤¨¤é¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢
945 .B \-f
946 ¤¬»ØÄꤵ¤ì¤¿¤â¤Î¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£
947 ÃͤϠ1024 ¥Ð¥¤¥Èñ°Ì¤ÇÁý¤¨¤Þ¤¹¤¬¡¢
948 ÉÃñ°Ì¤Ç¤¢¤ë
949 .BR \-t ,
950 512 ¥Ð¥¤¥È¤Î¥Ö¥í¥Ã¥¯Ã±°Ì¤Ç¤¢¤ë
951 .BR \-p ,
952 ñ°Ì̵¤·¤ÎÃͤǤ¢¤ë
953 .B \-n
954 ¤ª¤è¤Ó
955 .B \-u
956 ¤Ï½ü¤­¤Þ¤¹¡£
957 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï´ðËÜŪ¤Ë 0 ¤Ç¤¹¤¬¡¢
958 ÉÔÀµ¤Ê¥ª¥×¥·¥ç¥ó¤¬¤¢¤ë¾ì¹ç¡¢
959 \fBunlimited\fP °Ê³°¤Î¿ô»ú¤Ç¤Ê¤¤°ú¤­¿ô¤¬ \fIlimit\fP ¤Ë»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
960 ¿·¤·¤¤À©¸Â¤òÀßÄꤹ¤ëºÝ¤Ë¥¨¥é¡¼¤¬µ¯¤­¤¿¾ì¹ç¤Ï½ü¤­¤Þ¤¹¡£
961 .RE
962 .TP
963 \fBumask\fP [\fB\-p\fP] [\fB\-S\fP] [\fImode\fP]
964 .\"O The user file-creation mask is set to 
965 .\"O .IR mode .
966 ¥æ¡¼¥¶¤Î¥Õ¥¡¥¤¥ëÀ¸À®¥Þ¥¹¥¯¤Ë
967 .IR mode
968 ¤òÀßÄꤷ¤Þ¤¹¡£
969 .\"O If
970 .\"O .I mode
971 .\"O begins with a digit, it
972 .\"O is interpreted as an octal number; otherwise
973 .\"O it is interpreted as a symbolic mode mask similar
974 .\"O to that accepted by
975 .\"O .IR chmod (1).
976 .I mode
977 ¤¬¿ô»ú¤Ç»Ï¤Þ¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ì¤Ï 10 ¿Ê¿ô¤È²ò¼á¤µ¤ì¤Þ¤¹¡£
978 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢
979 .IR chmod (1)
980 ¤Ë»ØÄꤹ¤ë¤Î¤ÈƱÍͤΥ·¥ó¥Ü¥ê¥Ã¥¯¤Ê¥â¡¼¥É¥Þ¥¹¥¯¤È²ò¼á¤µ¤ì¤Þ¤¹¡£
981 .\"O If
982 .\"O .I mode
983 .\"O is omitted, the current value of the mask is printed.
984 .I mode
985 ¤¬¾Êά¤µ¤ì¤ë¤È¡¢¸½ºß¤Î¥Þ¥¹¥¯¤ÎÃͤ¬½ÐÎϤµ¤ì¤Þ¤¹¡£
986 .\"O The
987 .\"O .B \-S
988 .\"O option causes the mask to be printed in symbolic form; the
989 .\"O default output is an octal number.
990 .B \-S
991 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¥Þ¥¹¥¯¤Ï¥·¥ó¥Ü¥ê¥Ã¥¯¤Ê·Á¼°¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£
992 ¥Ç¥Õ¥ë¥È¤Î½ÐÎϤϠ10 ¿Ê¤Î¿ôÃͤǤ¹¡£
993 .\"O If the
994 .\"O .B \-p
995 .\"O option is supplied, and
996 .\"O .I mode
997 .\"O is omitted, the output is in a form that may be reused as input.
998 .\"O The return status is 0 if the mode was successfully changed or if
999 .\"O no \fImode\fP argument was supplied, and false otherwise.
1000 .B \-p
1001 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¡¢¤«¤Ä
1002 .I mode
1003 ¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¡¢ÆþÎϤȤ·¤ÆºÝÍøÍѤǤ­¤ë·Á¼°¤Ç½ÐÎϤ¬¹Ô¤ï¤ì¤Þ¤¹¡£
1004 ¥â¡¼¥É¤¬Àµ¾ï¤ËÊѹ¹¤Ç¤­¤¿¾ì¹ç¤ä¡¢
1005 \fImode\fP °ú¤­¿ô¤¬Á´¤¯Í¿¤¨¤é¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢
1006 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï 0 ¤È¤Ê¤ê¤Þ¤¹¡£
1007 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ïµ¶¤È¤Ê¤ê¤Þ¤¹¡£
1008 .TP
1009 \fBunalias\fP [\-\fBa\fP] [\fIname\fP ...]
1010 .\"O Remove each \fIname\fP from the list of defined aliases.  If
1011 .\"O .B \-a
1012 .\"O is supplied, all alias definitions are removed.  The return
1013 .\"O value is true unless a supplied
1014 .\"O .I name
1015 .\"O is not a defined alias.
1016 \fIname\fP ¤òÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¨¥¤¥ê¥¢¥¹¤Î¥ê¥¹¥È¤«¤éºï½ü¤·¤Þ¤¹¡£
1017 .B \-a
1018 ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¥¨¥¤¥ê¥¢¥¹ÄêµÁ¤ÏÁ´¤Æºï½ü¤µ¤ì¤Þ¤¹¡£
1019 Í¿¤¨¤é¤ì¤¿
1020 .I name
1021 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¨¥¤¥ê¥¢¥¹¤Ç¤¢¤ì¤Ð¡¢Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
1022 .TP
1023 \fBunset\fP [\-\fBfv\fP] [\fIname\fP ...]
1024 .\"O For each
1025 .\"O .IR name ,
1026 .\"O remove the corresponding variable or function.
1027 .IR name
1028 ¤½¤ì¤¾¤ì¤Ë¤Ä¤¤¤Æ¡¢Âбþ¤¹¤ëÊÑ¿ô¤ä´Ø¿ô¤òºï½ü¤·¤Þ¤¹¡£
1029 .\"O If no options are supplied, or the
1030 .\"O .B \-v
1031 .\"O option is given, each
1032 .\"O .I name
1033 .\"O refers to a shell variable.
1034 ¥ª¥×¥·¥ç¥ó¤¬Á´¤¯Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ä¡¢
1035 .B \-v
1036 ¥ª¥×¥·¥ç¥ó¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢³Æ
1037 .I name
1038 ¤Ï¥·¥§¥ëÊÑ¿ô¤ò»²¾È¤·¤Þ¤¹¡£
1039 .\"O Read-only variables may not be unset.
1040 Æɤ߹þ¤ßÀìÍѤÎÊÑ¿ô¤ÎÀßÄê¤ò¾Ã¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
1041 .\"O If
1042 .\"O .B \-f
1043 .\"O is specifed, 
1044 .\"O each
1045 .\"O .I name
1046 .\"O refers to a shell function, and the function definition
1047 .\"O is removed.
1048 .B \-f
1049 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢³Æ
1050 .I name
1051 ¤Ï¥·¥§¥ë´Ø¿ô¤ò»²¾È¤·¡¢¤½¤Î´Ø¿ô¤ÎÄêµÁ¤¬ºï½ü¤µ¤ì¤Þ¤¹¡£
1052 .\"O Each unset variable or function is removed from the environment
1053 .\"O passed to subsequent commands.
1054 ÀßÄ꤬¾Ã¤µ¤ì¤¿ÊÑ¿ô¤ä´Ø¿ô¤ÏÁ´¤Æ¡¢
1055 ¤½¤ì°Ê¹ß¤Î¥³¥Þ¥ó¥É¤ËÅϤµ¤ì¤ë´Ä¶­ÊÑ¿ô¤«¤é¤âºï½ü¤µ¤ì¤Þ¤¹¡£
1056 .\"O If any of
1057 .\"O .SM
1058 .\"O .BR RANDOM ,
1059 .\"O .SM
1060 .\"O .BR SECONDS ,
1061 .\"O .SM
1062 .\"O .BR LINENO ,
1063 .\"O .SM
1064 .\"O .BR HISTCMD ,
1065 .\"O .SM
1066 .\"O .BR FUNCNAME ,
1067 .\"O .SM
1068 .\"O .BR GROUPS ,
1069 .\"O or
1070 .\"O .SM
1071 .\"O .B DIRSTACK
1072 .\"O are unset, they lose their special properties, even if they are
1073 .\"O subsequently reset.  The exit status is true unless a
1074 .\"O .I name
1075 .\"O does not exist or is readonly.
1076 .SM
1077 .BR RANDOM ,
1078 .SM
1079 .BR SECONDS ,
1080 .SM
1081 .BR LINENO ,
1082 .SM
1083 .BR HISTCMD ,
1084 .SM
1085 .BR FUNCNAME ,
1086 .SM
1087 .BR GROUPS ,
1088 .SM
1089 .B DIRSTACK
1090 ¤Î¤¤¤º¤ì¤«¤ÎÀßÄê¤ò¾Ã¤·¤¿¾ì¹ç¡¢¤³¤ì¤é¤ÎÆüì¤ÊÆÃÀ­¤â̵¤¯¤Ê¤ê¤Þ¤¹¡£
1091 ¤³¤ì¤Ï¸å¤ÇºÆÀßÄꤷ¤Æ¤â¸µ¤ËÌá¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1092 .I name
1093 ¤¬Â¸ºß¤·¤Ê¤¤¤«¡¢Æɤ߹þ¤ßÀìÍѤξì¹ç°Ê³°¤Ë¤Ï¡¢
1094 ½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤Ï¿¿¤È¤Ê¤ê¤Þ¤¹¡£
1095 .TP
1096 \fBwait\fP [\fIn\fP]
1097 .\"O Wait for the specified process and return its termination
1098 .\"O status.
1099 »ØÄꤵ¤ì¤¿¥×¥í¥»¥¹¤ò wait ¤·¡¢¤½¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤òÊÖ¤·¤Þ¤¹¡£
1100 .\"O .I n
1101 .\"O may be a process
1102 .\"O ID or a job specification; if a job spec is given, all processes
1103 .\"O in that job's pipeline are waited for.  If
1104 .\"O .I n
1105 .\"O is not given, all currently active child processes
1106 .\"O are waited for, and the return status is zero.  If
1107 .\"O .I n
1108 .\"O specifies a non-existent process or job, the return status is
1109 .\"O 127.  Otherwise, the return status is the exit status of the last
1110 .\"O process or job waited for.
1111 .I n
1112 ¤Ï¥×¥í¥»¥¹ ID ¤Þ¤¿¤Ï¥¸¥ç¥Ö»ØÄê¤Ç¤¹¡£
1113 ¥¸¥ç¥Ö»ØÄê¤òÍ¿¤¨¤¿¾ì¹ç¡¢¤½¤Î¥¸¥ç¥Ö¤Î¥Ñ¥¤¥×¥é¥¤¥ó¤Ë´Þ¤Þ¤ì¤ë
1114 Á´¤Æ¤Î¥×¥í¥»¥¹¤ò wait ¤·¤Þ¤¹¡£
1115 .I n
1116 ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¸½ºß¥¢¥¯¥Æ¥£¥Ö¤ÊÁ´¤Æ¤Î»Ò¥×¥í¥»¥¹¤ò wait ¤·¡¢
1117 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï 0 ¤È¤Ê¤ê¤Þ¤¹¡£
1118 .I n
1119 ¤¬Â¸ºß¤·¤Ê¤¤¥×¥í¥»¥¹¤ä¥¸¥ç¥Ö¤ò»ØÄꤷ¤Æ¤¤¤ë¾ì¹ç¡¢
1120 Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï 127 ¤Ë¤Ê¤ê¤Þ¤¹¡£
1121 ¤½¤ì°Ê³°¤Î¾ì¹ç¡¢Êֵѥ¹¥Æ¡¼¥¿¥¹¤Ï
1122 wait ¤·¤Æ¤¤¤¿ºÇ¸å¤Î¥×¥í¥»¥¹¤Þ¤¿¤Ï¥¸¥ç¥Ö¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤È¤Ê¤ê¤Þ¤¹¡£
1123 .\" bash_builtins
1124 .if \n(zZ=1 .ig zZ