OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / GNU_indent / draft / man1 / indent.1
1 .\" 
2 .\" Japanese Version
3 .\" Updated & Modified Mon May  3 07:00:19 JST 2004
4 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
5 .\" 
6 .TH INDENT 1L 
7 .\"O .SH "NAME"
8 .SH Ì¾Á°
9 .\"O indent \- changes the appearance of a C program by inserting or deleting whitespace.  
10 indent \- ¶õÇò¤ÎÁÞÆþ¤äºï½ü¤ò¹Ô¤¤¡¢C ¸À¸ì¥×¥í¥°¥é¥à¤Î¸«±É¤¨¤òÊѤ¨¤ë¡£
11 .\"O .SH "SYNOPSIS"
12 .SH ½ñ¼°
13 .B "indent "
14 [options] [input\-files]
15 .sp
16 .B "indent "
17 [options] [single\-input\-file] [\-o output\-file]
18 .sp
19 .B "indent "
20 \-\-version
21 .\"O .SH "DESCRIPTION"
22 .SH ÀâÌÀ
23 .\"O This man page is generated from the file \fIindent.texinfo\fR.
24 .\"O This is Edition 2.2.9 of "The \fBindent\fR Manual",
25 .\"O for Indent Version 2.2.9, last updated 10 November 2002.
26 ¤³¤Î man ¥Ú¡¼¥¸¤Ï¥Õ¥¡¥¤¥ë \fIindent.texinfo\fR ¤«¤éÀ¸À®¤·¤¿¡£
27 ¤³¤ì¤Ï indent ¥Ð¡¼¥¸¥ç¥ó 2.2.9 ÍѤΡÖThe \fBindent\fR Manual¡×¤Î
28 2.2.9 ÈÇ (2002 Ç¯ 11 ·î 10 ÆüÈÇ) ¤Ç¤¢¤ë¡£
29
30 .\"O The \fBindent\fR program
31 .\"O can be used to make code easier to read.  It can also convert from one
32 .\"O style of writing C to another.  
33 \fBindent\fR ¥×¥í¥°¥é¥à¤ò»È¤¦¤È¥³¡¼¥É¤òÆɤߤ䤹¤¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
34 ¤Þ¤¿¡¢C ¸À¸ì¤Î¥³¡¼¥Éµ­½Ò¤ò¡¢
35 ¤¢¤ë¥¹¥¿¥¤¥ë¤«¤éÊ̤Υ¹¥¿¥¤¥ë¤ËÊÑ´¹¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¡£
36
37 .\"O .B indent\fR understands a substantial amount about the syntax of C,
38 .\"O but it also attempts to cope with incomplete and misformed syntax.
39 \fBindent\fR ¤Ï¤¿¤¯¤µ¤ó¤¢¤ë C ¸À¸ì¤Îʸˡ¤òÍý²ò¤¹¤ë¤¬¡¢
40 ʸˡ¤¬ÉÔ´°Á´¤ÊÉôʬ¤ä¸í¤Ã¤Æ¤¤¤ëÉôʬ¤â¤Ç¤­¤ë¤À¤±½èÍý¤·¤è¤¦¤È¤¹¤ë¡£
41
42 .\"O In version 1.2 and more recent versions, the GNU style of indenting is
43 .\"O the default.
44 ¥Ð¡¼¥¸¥ç¥ó 1.2 °Ê¹ß¤Ç¤Ï¡¢GNU ¥¹¥¿¥¤¥ë¤Î¥¤¥ó¥Ç¥ó¥È¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
45 .\"O .SH "OPTIONS"
46 .SH ¥ª¥×¥·¥ç¥ó
47
48 .TP 4
49 .B -bad\fR, \fB--blank-lines-after-declarations\fR
50 .\"O Force blank lines after the declarations.
51 Àë¸À¤Î¸å¤Ëɬ¤º¶õ¹Ô¤òÃÖ¤¯¡£
52 .br
53 .\"O See \fB\ BLANK\ LINES\fR.
54 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
55 .TP
56 .B -bap\fR, \fB--blank-lines-after-procedures\fR
57 .\"O Force blank lines after procedure bodies.
58 ¼ê³¤­ËÜÂΤθå¤Ëɬ¤º¶õ¹Ô¤òÃÖ¤¯¡£
59 .br
60 .\"O See \fB\ BLANK\ LINES\fR.
61 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
62 .TP
63 .B -bbb\fR, \fB--blank-lines-before-block-comments\fR
64 .\"O Force blank lines before block comments.
65 ¥Ö¥í¥Ã¥¯¥³¥á¥ó¥È¤ÎÁ°¤Ëɬ¤º¶õ¹Ô¤òÃÖ¤¯¡£
66 .br
67 .\"O See \fB\ BLANK\ LINES\fR.
68 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
69 .TP
70 .B -bbo\fR, \fB--break-before-boolean-operator\fR
71 .\"O Prefer to break long lines before boolean operators.
72 Ť¤¹Ô¤ò¥Ö¡¼¥ê¥¢¥ó±é»»»Ò¤ÎÁ°¤ÇÀÞ¤êÊÖ¤¹¡£
73 .br
74 .\"O See \fB\ BREAKING\ LONG\ LINES\fR.
75 ¡Ö\fBŤ¤¹Ô¤ÎÀÞ¤êÊÖ¤·\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
76 .TP
77 .B -bc\fR, \fB--blank-lines-after-commas\fR
78 .\"O Force newline after comma in declaration.
79 Àë¸ÀÃæ¤Î¥³¥ó¥Þ¤Î¸å¤Ëɬ¤º²þ¹Ô¤òÃÖ¤¯¡£
80 .br
81 .\"O See \fB\ DECLARATIONS\fR.
82 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
83 .TP
84 .B -bl\fR, \fB--braces-after-if-line\fR
85 .\"O Put braces on line after \fBif\fR, etc.
86 ¥Ö¥ì¡¼¥¹¤Ï \fBif\fR Åù¤Î¼¡¤Î¹Ô¤ËÃÖ¤¯¡£
87 .br
88 .\"O See \fB\ STATEMENTS\fR.
89 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
90 .TP
91 .B -bli\fIn\fB\fR, \fB--brace-indent\fIn\fB\fR
92 .\"O Indent braces \fIn\fR spaces.
93 ¥Ö¥ì¡¼¥¹¤ò \fIn\fR ¸Ä¤Î¥¹¥Ú¡¼¥¹¤Ç¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤¹¤ë¡£
94 .br
95 .\"O See \fB\ STATEMENTS\fR.
96 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
97 .TP
98 .B -bls\fR, \fB--braces-after-struct-decl-line\fR
99 .\"O Put braces on the line after \fBstruct\fR declaration lines.
100 ¥Ö¥ì¡¼¥¹¤Ï \fBstruct\fR Àë¸À¹Ô¤Î¼¡¤Î¹Ô¤ËÃÖ¤¯¡£
101 .br
102 .\"O See \fB\ DECLARATIONS\fR.
103 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
104 .TP
105 .B -br\fR, \fB--braces-on-if-line\fR
106 .\"O Put braces on line with \fBif\fR, etc.
107 ¥Ö¥ì¡¼¥¹¤Ï \fBif\fR Åù¤¬¤¢¤ë¹Ô¤ËÃÖ¤¯¡£
108 .br
109 .\"O See \fB\ STATEMENTS\fR.
110 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
111 .TP
112 .B -brs\fR, \fB--braces-on-struct-decl-line\fR
113 .\"O Put braces on \fBstruct\fR declaration line.
114 ¥Ö¥ì¡¼¥¹¤Ï \fBstruct\fR Àë¸À¹Ô¤¬¤¢¤ë¹Ô¤ËÃÖ¤¯¡£
115 .br
116 .\"O See \fB\ DECLARATIONS\fR.
117 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
118 .TP
119 .B -bs\fR, \fB--Bill-Shannon\fR, \fB--blank-before-sizeof\fR
120 .\"O Put a space between \fBsizeof\fR and its argument.
121 \fBsizeof\fR ¤È¤½¤Î°ú¤­¿ô¤Î´Ö¤Ë¶õÇò¤òÃÖ¤¯¡£
122 .br
123 .\"O See \fB\ STATEMENTS\fR.
124 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
125 .TP
126 .B -c\fIn\fB\fR, \fB--comment-indentation\fIn\fB\fR
127 .\"O Put comments to the right of code in column \fIn\fR.
128 ¥³¥á¥ó¥È¤ò¥³¡¼¥É¤Î±¦¤Î¥«¥é¥à \fIn\fR ¤ËÃÖ¤¯¡£
129 .br
130 .\"O See \fB\ COMMENTS\fR.
131 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
132 .TP
133 .B -cbi\fIn\fB\fR, \fB--case-brace-indentation\fIn\fB\fR
134 .\"O Indent braces after a case label N spaces.
135 case ¥é¥Ù¥ë¤Î¸å¤Ë¡¢¥Ö¥ì¡¼¥¹¤ò \fIn\fR ¸Ä¤Î¶õÇò¤Ç¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤¹¤ë¡£
136 .br
137 .\"O See \fB\ STATEMENTS\fR.
138 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
139 .TP
140 .B -cd\fIn\fB\fR, \fB--declaration-comment-column\fIn\fB\fR
141 .\"O Put comments to the right of the declarations in column \fIn\fR.
142 ¥³¥á¥ó¥È¤òÀë¸À¤Î±¦¤Î¥«¥é¥à \fIn\fR ¤ËÃÖ¤¯¡£
143 .br
144 .\"O See \fB\ COMMENTS\fR.
145 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
146 .TP
147 .B -cdb\fR, \fB--comment-delimiters-on-blank-lines\fR
148 .\"O Put comment delimiters on blank lines.
149 ¶õ¹Ô¤Ë¥³¥á¥ó¥È¶èÀÚ¤êʸ»ú¤òÃÖ¤¯¡£
150 .br
151 .\"O See \fB\ COMMENTS\fR.
152 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
153 .TP
154 .B -cdw\fR, \fB--cuddle-do-while\fR
155 .\"O Cuddle while of \fBdo {} while;\fR and preceeding \`}\'.
156 \fBdo {} while;\fR ¤Î while ¤È¤½¤ÎÁ°¤Î \`}\' ¤òʤ٤롣
157 .br
158 .\"O See \fB\ COMMENTS\fR.
159 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
160 .TP
161 .B -ce\fR, \fB--cuddle-else\fR
162 .\"O Cuddle else and preceeding \`}\'.
163 else ¤È¤½¤ÎÁ°¤Î \`}\' ¤òʤ٤롣
164 .br
165 .\"O See \fB\ COMMENTS\fR.
166 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
167 .TP
168 .B -ci\fIn\fB\fR, \fB--continuation-indentation\fIn\fB\fR
169 .\"O Continuation indent of \fIn\fR spaces.
170 Á°¤Î¹Ô¤«¤é·Ñ³¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢\fIn\fR ¸Ä¤Î¶õÇò¤Ç¥¤¥ó¥Ç¥ó¥È¤¹¤ë¡£
171 .br
172 .\"O See \fB\ STATEMENTS\fR.
173 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
174 .TP
175 .B -cli\fIn\fB\fR, \fB--case-indentation\fIn\fB\fR
176 .\"O Case label indent of \fIn\fR spaces.
177 case ¥é¥Ù¥ë¤ò N ¸Ä¤Î¶õÇò¤Ç¥¤¥ó¥Ç¥ó¥È¤¹¤ë¡£
178 .br
179 .\"O See \fB\ STATEMENTS\fR.
180 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
181 .TP
182 .B -cp\fIn\fB\fR, \fB--else-endif-column\fIn\fB\fR
183 .\"O Put comments to the right of \fB#else\fR.\"O  and \fB
184 .\"O #endif\fR statements in column \fIn\fR.
185 \fB#else\fR Ê¸¤È \fB#endif\fR Ê¸¤Î±¦¤Î¥«¥é¥à \fIn\fR ¤Ë¥³¥á¥ó¥È¤òÃÖ¤¯¡£
186 .br
187 .\"O See \fB\ COMMENTS\fR.
188 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
189 .TP
190 .B -cs\fR, \fB--space-after-cast\fR
191 .\"O Put a space after a cast operator.
192 ¥­¥ã¥¹¥È±é»»»Ò¤Î¸å¤Ë¶õÇò¤òÃÖ¤¯¡£
193 .br
194 .\"O See \fB\ STATEMENTS\fR.
195 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
196 .TP
197 .B -d\fIn\fB\fR, \fB--line-comments-indentation\fIn\fB\fR
198 .\"O Set indentation of comments not to the right 
199 .\"O of code to \fIn\fR spaces.
200 ¥³¡¼¥É¤Î±¦¤Ç¤Ê¤¤¥³¥á¥ó¥È¤Ï¶õÇò \fIn\fR ¸Ä¤Ç¥¤¥ó¥Ç¥ó¥È¤¹¤ë¤è¤¦¤ËÀßÄꤹ¤ë¡£
201 .br
202 .\"O See \fB\ COMMENTS\fR.
203 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
204 .TP
205 .B -bfda\fR, \fB--break-function-decl-args\fR
206 .\"O Break the line before all arguments in a declaration.
207 (´Ø¿ô) Àë¸À¤ÎÁ´¤Æ¤Î°ú¤­¿ô¤Î¸å¤ÇÀÞ¤êÊÖ¤¹¡£
208 .br
209 .\"O See \fB\ DECLARATIONS\fR.
210 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
211 .TP
212 .B -bfde\fR, \fB--break-function-decl-args\fR
213 .\"O Break the line after the last argument in a declaration.
214 (´Ø¿ô) Àë¸À¤ÎÁ´¤Æ¤Î°ú¤­¿ô¤ÎÁ°¤ÇÀÞ¤êÊÖ¤¹¡£
215 .br
216 .\"O See \fB\ DECLARATIONS\fR.
217 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
218 .TP
219 .B -di\fIn\fB\fR, \fB--declaration-indentation\fIn\fB\fR
220 .\"O Put variables in column \fIn\fR.
221 ÊÑ¿ô¤ò¥«¥é¥à \fIn\fR ¤ËÃÖ¤¯¡£
222 .br
223 .\"O See \fB\ DECLARATIONS\fR.
224 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
225 .TP
226 .B -fc1\fR, \fB--format-first-column-comments\fR
227 .\"O Format comments in the first column.
228 ºÇ½é¤Î¥«¥é¥à¤«¤é»Ï¤Þ¤ë¥³¥á¥ó¥È¤òÀ°·Á¤¹¤ë¡£
229 .br
230 .\"O See \fB\ COMMENTS\fR.
231 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
232 .TP
233 .B -fca\fR, \fB--format-all-comments\fR
234 .\"O Do not disable all formatting of comments.
235 ¥³¥á¥ó¥È¤ÎÀ°·Á¤òÁ´¤Æ¤ò̵¸ú¤Ë¤·¤Ê¤¤¡£
236 .br
237 .\"O See \fB\ COMMENTS\fR.
238 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
239 .TP
240 .B -gnu\fR, \fB--gnu-style\fR
241 .\"O Use GNU coding style.  This is the default.
242 GNU ¥³¡¼¥Ç¥£¥ó¥°¥¹¥¿¥¤¥ë¤ò»ÈÍѤ¹¤ë¡£¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤Ç¤¢¤ë¡£
243 .br
244 .\"O See \fB\ COMMON\ STYLES\fR.
245 ¡Ö\fB°ìÈÌŪ¤Ê¥¹¥¿¥¤¥ë\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
246 .TP
247 .B -hnl\fR, \fB--honour-newlines\fR
248 .\"O Prefer to break long lines at the position of newlines in the input.
249 ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ç²þ¹Ô¤¬Æþ¤Ã¤Æ¤¤¤ë°ÌÃÖ¤Ç
250 Ť¤¹Ô¤òÀÞ¤êÊÖ¤¹¤è¤¦¤Ë¤¹¤ë¡£
251 .br
252 .\"O See \fB\ BREAKING\ LONG\ LINES\fR.
253 ¡Ö\fBŤ¤¹Ô¤ÎÀÞ¤êÊÖ¤·\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
254 .TP
255 .B -i\fIn\fB\fR, \fB--indent-level\fIn\fB\fR
256 .\"O Set indentation level to \fIn\fR spaces.
257 ¥¤¥ó¥Ç¥ó¥È¤Î¥ì¥Ù¥ë¤ò¶õÇò \fIn\fR ¸Ä¤ËÀßÄꤹ¤ë¡£
258 .br
259 .\"O See \fB\ INDENTATION\fR.
260 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
261 .TP
262 .B -ip\fIn\fB\fR, \fB--parameter-indentation\fIn\fB\fR
263 .\"O Indent parameter types in old-style function 
264 .\"O definitions by \fIn\fR spaces.
265 ¸Å¤¤·Á¼°¤Î´Ø¿ôÄêµÁ¤Î¥Ñ¥é¥á¡¼¥¿·¿¤ò¶õÇò \fIn\fR ¸Ä¤Ç¥¤¥ó¥Ç¥ó¥È¤¹¤ë¡£
266 .br
267 .\"O See \fB\ INDENTATION\fR.
268 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
269 .TP
270 .B -kr\fR, \fB--k-and-r-style\fR
271 .\"O Use Kernighan & Ritchie coding style.
272 Kernighan & Ritchie ¥³¡¼¥Ç¥£¥ó¥°¥¹¥¿¥¤¥ë¤ò»ÈÍѤ¹¤ë¡£
273 .br
274 .\"O See \fB\ COMMON\ STYLES\fR.
275 ¡Ö\fB°ìÈÌŪ¤Ê¥¹¥¿¥¤¥ë\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
276 .TP
277 .B -l\fIn\fB\fR, \fB--line-length\fIn\fB\fR
278 .\"O Set maximum line length for non-comment lines to \fIn\fR.
279 ¥³¥á¥ó¥È¤Ç¤Ê¤¤¹Ô¤ÎºÇÂç¤ÎŤµ¤ò \fIn\fR ¤ËÀßÄꤹ¤ë¡£
280 .br
281 .\"O See \fB\ BREAKING\ LONG\ LINES\fR.
282 ¡Ö\fBŤ¤¹Ô¤ÎÀÞ¤êÊÖ¤·\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
283 .TP
284 .B -lc\fIn\fB\fR, \fB--comment-line-length\fIn\fB\fR
285 .\"O Set maximum line length for comment formatting to \fIn\fR.
286 ¥³¥á¥ó¥È¤òÀ°·Á¤¹¤ëºÇÂç¤ÎŤµ¤ò \fIn\fR ¤ËÀßÄꤹ¤ë¡£
287 .br
288 .\"O See \fB\ COMMENTS\fR.
289 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
290 .TP
291 .B -lp\fR, \fB--continue-at-parentheses\fR
292 .\"O Line up continued lines at parentheses.
293 Á°¤Î¹Ô¤Ë³¤¯¹Ô¤ò³ç¸Ì¤Î°ÌÃ֤˷¤¨¤ë¡£
294 .br
295 .\"O See \fB\ INDENTATION\fR.
296 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
297 .TP
298 .B -lps\fR, \fB--leave-preprocessor-space\fR
299 .\"O Leave space between \`#\' and preprocessor directive.
300 \`#\' ¤È¥×¥ê¥×¥í¥»¥Ã¥µ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Î´Ö¤Î¶õÇò¤ò»Ä¤¹¡£
301 .br
302 .\"O See \fB\ INDENTATION\fR.
303 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
304 .TP
305 .B -nbad\fR, \fB--no-blank-lines-after-declarations\fR
306 .\"O Do not force blank lines after declarations.
307 Àë¸À¤Î¸å¤Ë¶õ¹Ô¤òÃÖ¤«¤Ê¤¤¡£
308 .br
309 .\"O See \fB\ BLANK\ LINES\fR.
310 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
311 .TP
312 .B -nbap\fR, \fB--no-blank-lines-after-procedures\fR
313 .\"O Do not force blank lines after procedure bodies.
314 ¼ê³¤­ËÜÂΤθå¤Ë¶õ¹Ô¤òÃÖ¤«¤Ê¤¤¡£
315 .br
316 .\"O See \fB\ BLANK\ LINES\fR.
317 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
318 .TP
319 .B -nbbo\fR, \fB--break-after-boolean-operator\fR
320 .\"O Do not prefer to break long lines before boolean operators.
321 ¥Ö¡¼¥ê¥¢¥ó±é»»»Ò¤ÎÁ°¤ÇŤ¤¹Ô¤òÀÞ¤êÊÖ¤µ¤Ê¤¤¡£
322 .br
323 .\"O See \fB\ BREAKING\ LONG\ LINES\fR.
324 ¡Ö\fBŤ¤¹Ô¤ÎÀÞ¤êÊÖ¤·\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
325 .TP
326 .B -nbc\fR, \fB--no-blank-lines-after-commas\fR
327 .\"O Do not force newlines after commas in declarations.
328 Àë¸ÀÃæ¤Î¥³¥ó¥Þ¤Î¸å¤Ë²þ¹Ô¤òÃÖ¤«¤Ê¤¤¡£
329 .br
330 .\"O See \fB\ DECLARATIONS\fR.
331 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
332 .TP
333 .B -nbfda\fR, \fB--dont-break-function-decl-args\fR
334 .\"O Don\'t put each argument in a function declaration on a seperate line.
335 ´Ø¿ôÀë¸À¤Î³Æ°ú¤­¿ô¤òÊÌ¡¹¤Î¹Ô¤ËÃÖ¤«¤Ê¤¤¡£
336 .br
337 .\"O See \fB\ DECLARATIONS\fR.
338 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
339 .TP
340 .B -ncdb\fR, \fB--no-comment-delimiters-on-blank-lines\fR
341 .\"O Do not put comment delimiters on blank lines.
342 ¶õ¹Ô¤Ë¥³¥á¥ó¥È¶èÀÚ¤êʸ»ú¤òÃÖ¤«¤Ê¤¤¡£
343 .br
344 .\"O See \fB\ COMMENTS\fR.
345 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
346 .TP
347 .B -ncdw\fR, \fB--dont-cuddle-do-while\fR
348 .\"O Do not cuddle \fB}\fR and the \fBwhile\fR of a \fBdo {} while;\fR.
349 \fBdo {} while;\fR ¤Î \fB}\fR ¤È \fBwhile\fR ¤òƱ¤¸¹Ô¤Ëʤ٤ʤ¤¡£
350 .br
351 .\"O See \fB\ STATEMENTS\fR.
352 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
353 .TP
354 .B -nce\fR, \fB--dont-cuddle-else\fR
355 .\"O Do not cuddle \fB}\fR and \fBelse\fR.
356 \fB}\fR ¤È \fBelse\fR ¤òƱ¤¸¹Ô¤Ëʤ٤ʤ¤¡£
357 .br
358 .\"O See \fB\ STATEMENTS\fR.
359 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
360 .TP
361 .B -ncs\fR, \fB--no-space-after-casts\fR
362 .\"O Do not put a space after cast operators.
363 ¥­¥ã¥¹¥È±é»»»Ò¤Î¸å¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
364 .br
365 .\"O See \fB\ STATEMENTS\fR.
366 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
367 .TP
368 .B -nfc1\fR, \fB--dont-format-first-column-comments\fR
369 .\"O Do not format comments in the first column as normal.
370 ºÇ½é¤Î¥«¥é¥à¤«¤é»Ï¤Þ¤ë¥³¥á¥ó¥È¤òÄ̾ï¤Î¤è¤¦¤ËÀ°·Á¤·¤Ê¤¤¡£
371 .br
372 .\"O See \fB\ COMMENTS\fR.
373 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
374 .TP
375 .B -nfca\fR, \fB--dont-format-comments\fR
376 .\"O Do not format any comments.
377 ¤É¤Î¤è¤¦¤Ê¥³¥á¥ó¥È¤âÀ°·Á¤·¤Ê¤¤¡£
378 .br
379 .\"O See \fB\ COMMENTS\fR.
380 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
381 .TP
382 .B -nhnl\fR, \fB--ignore-newlines\fR
383 .\"O Do not prefer to break long lines at the position of newlines in the input.
384 ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ç²þ¹Ô¤¬Æþ¤Ã¤Æ¤¤¤ë°ÌÃÖ¤Ç
385 Ť¤¹Ô¤òÀÞ¤êÊÖ¤µ¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£
386 .br
387 .\"O See \fB\ BREAKING\ LONG\ LINES\fR.
388 ¡Ö\fBŤ¤¹Ô¤ÎÀÞ¤êÊÖ¤·\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
389 .TP
390 .B -nip\fR, \fB--no-parameter-indentation\fR
391 .\"O Zero width indentation for parameters.
392 ¥Ñ¥é¥á¡¼¥¿¤Î¥¤¥ó¥Ç¥ó¥ÈÉý¤ò 0 ¤Ë¤¹¤ë¡£
393 .br
394 .\"O See \fB\ INDENTATION\fR.
395 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
396 .TP
397 .B -nlp\fR, \fB--dont-line-up-parentheses\fR
398 .\"O Do not line up parentheses.
399 ³ç¸Ì¤Î°ÌÃÖ¤ò·¤¨¤Ê¤¤¡£
400 .br
401 .\"O See \fB\ STATEMENTS\fR.
402 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
403 .TP
404 .B -npcs\fR, \fB--no-space-after-function-call-names\fR
405 .\"O Do not put space after the function in function calls.
406 ´Ø¿ô¸Æ¤Ó½Ð¤·ÆâÉô¤Î´Ø¿ô¤Î¸å¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
407 .br
408 .\"O See \fB\ STATEMENTS\fR.
409 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
410 .TP
411 .B -nprs\fR, \fB--no-space-after-parentheses\fR
412 .\"O Do not put a space after every \'(\' and before every \')\'.
413 \'(\' ¤Î¸å¤È \')\' ¤ÎÁ°¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
414 .br
415 .\"O See \fB\ STATEMENTS\fR.
416 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
417 .TP
418 .B -npsl\fR, \fB--dont-break-procedure-type\fR
419 .\"O Put the type of a procedure on the same line as its name.
420 ¼ê³¤­¤Î·¿¤ò̾Á°¤ÈƱ¤¸¹Ô¤ËÃÖ¤¯¡£
421 .br
422 .\"O See \fB\ DECLARATIONS\fR.
423 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
424 .TP
425 .B -nsaf\fR, \fB--no-space-after-for\fR
426 .\"O Do not put a space after every \fBfor\fR.
427 \fBfor\fR ¤Î¸å¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
428 .br
429 .\"O See \fB\ STATEMENTS\fR.
430 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
431 .TP
432 .B -nsai\fR, \fB--no-space-after-if\fR
433 .\"O Do not put a space after every \fBif\fR.
434 \fBif\fR ¤Î¸å¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
435 .br
436 .\"O See \fB\ STATEMENTS\fR.
437 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
438 .TP
439 .B -nsaw\fR, \fB--no-space-after-while\fR
440 .\"O Do not put a space after every \fBwhile\fR.
441 \fBwhile\fR ¤Î¸å¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
442 .br
443 .\"O See \fB\ STATEMENTS\fR.
444 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
445 .TP
446 .B -nsc\fR, \fB--dont-star-comments\fR
447 .\"O Do not put the \`*\' character at the left of comments.
448 \`*\' Ê¸»ú¤ò¥³¥á¥ó¥È¤Îº¸¤ËÃÖ¤«¤Ê¤¤¡£
449 .br
450 .\"O See \fB\ COMMENTS\fR.
451 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
452 .TP
453 .B -nsob\fR, \fB--leave-optional-blank-lines\fR
454 .\"O Do not swallow optional blank lines.
455 ;·×¤Ê¶õ¹Ô¤òºï½ü¤·¤Ê¤¤¡£
456 .br
457 .\"O See \fB\ BLANK\ LINES\fR.
458 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
459 .TP
460 .B -nss\fR, \fB--dont-space-special-semicolon\fR
461 .\"O Do not force a space before the semicolon after certain statements.
462 .\"O Disables \`-ss\'.
463 ÆÃÄê¤Îʸ¤Î¸å¤Î¥»¥ß¥³¥í¥ó¤ÎÁ°¤Ë¶õÇò¤òÃÖ¤«¤Ê¤¤¡£
464 \`-ss\' ¤ò̵¸ú¤Ë¤¹¤ë¡£
465 .br
466 .\"O See \fB\ STATEMENTS\fR.
467 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
468 .TP
469 .B -nut\fR, \fB--no-tabs\fR
470 .\"O Use spaces instead of tabs.
471 ¥¿¥Ö¤Ç¤Ï¤Ê¤¯¶õÇò¤ò»È¤¦¡£
472 .br
473 .\"O See \fB\ INDENTATION\fR.
474 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
475 .TP
476 .B -nv\fR, \fB--no-verbosity\fR
477 .\"O Disable verbose mode.
478 ¾ÜºÙɽ¼¨¥â¡¼¥É¤ò̵¸ú¤Ë¤¹¤ë¡£
479 .br
480 .\"O See \fB\ MISCELLANEOUS\ OPTIONS\fR.
481 ¡Ö\fB¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
482 .TP
483 .B -orig\fR, \fB--original\fR
484 .\"O Use the original Berkeley coding style.
485 ¥ª¥ê¥¸¥Ê¥ë¤Î Berkeley ¥³¡¼¥Ç¥£¥ó¥°¥¹¥¿¥¤¥ë¤ò»ÈÍѤ¹¤ë¡£
486 .br
487 .\"O See \fB\ COMMON\ STYLES\fR.
488 ¡Ö\fB°ìÈÌŪ¤Ê¥¹¥¿¥¤¥ë\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
489 .TP
490 .B -npro\fR, \fB--ignore-profile\fR
491 .\"O Do not read \`.indent.pro\' files.
492 \`.indent.pro\' ¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤Þ¤Ê¤¤¡£
493 .br
494 .\"O See \fB\ INVOKING\ INDENT\fR.
495 ¡Ö\fBindent\ ¤Îµ¯Æ°\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
496 .TP
497 .B -pcs\fR, \fB--space-after-procedure-calls\fR
498 .\"O Insert a space between the name of the 
499 .\"O procedure being called and the \`(\'.
500 ¸Æ¤Ó½Ð¤µ¤ì¤ë¼ê³¤­¤Î̾Á°¤È `(' ¤Î´Ö¤Ë¶õÇò¤òÁÞÆþ¤¹¤ë¡£
501 .br
502 .\"O See \fB\ STATEMENTS\fR.
503 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
504 .TP
505 .B -pi\fIn\fB\fR, \fB--paren-indentation\fIn\fB\fR
506 .\"O Specify the extra indentation per open parentheses \'(\' when a
507 .\"O statement is broken.See \fB\ STATEMENTS\fR.
508 ʸ¤¬ÉÔ´°Á´¤Ê¾ì¹ç¤Ë»È¤ï¤ì¤ë
509 ³«³ç¸Ì \'(\' ¤´¤È¤ÎÄɲäΥ¤¥ó¥Ç¥ó¥È¤ò»ØÄꤹ¤ë¡£
510 .br
511 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
512 .TP
513 .B -pmt\fR, \fB--preserve-mtime\fR
514 .\"O Preserve access and modification times on output files.See \fB\ MISCELLANEOUS\ OPTIONS\fR.
515 ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹»þ¹ï¤È½¤Àµ»þ¹ï¤òÊݸ¤¹¤ë¡£
516 .br
517 ¡Ö\fB¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
518 .TP
519 .B -prs\fR, \fB--space-after-parentheses\fR
520 .\"O Put a space after every \'(\' and before every \')\'.
521 \'(\' ¤Î¸å¤È \')\' ¤ÎÁ°¤Ë¶õÇò¤òÃÖ¤¯¡£
522 .br
523 .\"O See \fB\ STATEMENTS\fR.
524 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
525 .TP
526 .B -psl\fR, \fB--procnames-start-lines\fR
527 .\"O Put the type of a procedure on the line before its name.
528 ¼ê³¤­¤Î·¿¤ò̾Á°¤ÈƱ¤¸¹Ô¤ËÃÖ¤¯¡£
529 .br
530 .\"O See \fB\ DECLARATIONS\fR.
531 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
532 .TP
533 .B -saf\fR, \fB--space-after-for\fR
534 .\"O Put a space after each \fBfor\fR.
535 \fBfor\fR ¤Î¸å¤Ë¥¹¥Ú¡¼¥¹¤òÃÖ¤¯¡£
536 .br
537 .\"O See \fB\ STATEMENTS\fR.
538 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
539 .TP
540 .B -sai\fR, \fB--space-after-if\fR
541 .\"O Put a space after each \fBif\fR.
542 \fBif\fR ¤Î¸å¤Ë¥¹¥Ú¡¼¥¹¤òÃÖ¤¯¡£
543 .br
544 .\"O See \fB\ STATEMENTS\fR.
545 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
546 .TP
547 .B -saw\fR, \fB--space-after-while\fR
548 .\"O Put a space after each \fBwhile\fR.
549 \fBwhile\fR ¤Î¸å¤Ë¥¹¥Ú¡¼¥¹¤òÃÖ¤¯¡£
550 .br
551 .\"O See \fB\ STATEMENTS\fR.
552 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
553 .TP
554 .B -sbi\fIn\fB\fR, \fB--struct-brace-indentation\fIn\fB\fR
555 .\"O Indent braces of a struct, union or enum N spaces.
556 stract, union, enum ¤Î¥Ö¥ì¡¼¥¹¤ò \fIn\fB ¸Ä¤Î¶õÇò¤Ç¥¤¥ó¥Ç¥ó¥È¤¹¤ë¡£
557 .br
558 .\"O See \fB\ STATEMENTS\fR.
559 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
560 .TP
561 .B -sc\fR, \fB--start-left-side-of-comments\fR
562 .\"O Put the \`*\' character at the left of comments.
563 \`*\' Ê¸»ú¤ò¥³¥á¥ó¥È¤Îº¸¤ËÃÖ¤¯¡£
564 .br
565 .\"O See \fB\ COMMENTS\fR.
566 ¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
567 .TP
568 .B -sob\fR, \fB--swallow-optional-blank-lines\fR
569 .\"O Swallow optional blank lines.
570 ;·×¤Ê¶õ¹Ô¤ò¼è¤ê½ü¤¯¡£
571 .br
572 .\"O See \fB\ BLANK\ LINES\fR.
573 ¡Ö\fB¶õ¹Ô\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
574 .TP
575 .B -ss\fR, \fB--space-special-semicolon\fR
576 .\"O On one-line \fBfor\fR and \fBwhile\fR statments, 
577 .\"O force a blank before the semicolon.
578 1 ¹Ô¤Çµ­½Ò¤·¤¿ \fBfor\fR Ê¸¤È \fBwhile\fR Ê¸¤Ë¤ª¤¤¤Æ¡¢
579 ¥»¥ß¥³¥í¥ó¤ÎÁ°¤Ë¶õÇò¤òÃÖ¤¯¡£
580 .br
581 .\"O See \fB\ STATEMENTS\fR.
582 ¡Ö\fBʸ\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
583 .TP
584 .B -st\fR, \fB--standard-output\fR
585 .\"O Write to standard output.
586 ɸ½à½ÐÎϤ˽ñ¤­½Ð¤¹¡£
587 .br
588 .\"O See \fB\ INVOKING\ INDENT\fR.
589 ¡Ö\fBindent\ ¤Îµ¯Æ°\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
590 .TP
591 .B -T\fR
592 .\"O Tell \fBindent\fR the name of typenames.
593 ·¿Ì¾¤Î̾Á°¤ò \fBindent\fR ¤Ë»ØÄꤹ¤ë¡£
594 .br
595 .\"O See \fB\ DECLARATIONS\fR.
596 ¡Ö\fBÀë¸À\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
597 .TP
598 .B -ts\fIn\fB\fR, \fB--tab-size\fIn\fB\fR
599 .\"O Set tab size to \fIn\fR spaces.
600 ¥¿¥Ö¤ÎÉý¤ò¶õÇò \fIn\fR ¸Ä¤ËÀßÄꤹ¤ë¡£
601 .br
602 .\"O See \fB\ INDENTATION\fR.
603 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
604 .TP
605 .B -ut\fR, \fB--use-tabs\fR
606 .\"O Use tabs. This is the default.
607 ¥¿¥Ö¤ò»È¤¦¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
608 .br
609 .\"O See \fB\ INDENTATION\fR.
610 ¡Ö\fB¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
611 .TP
612 .B -v\fR, \fB--verbose\fR
613 .\"O Enable verbose mode.
614 ¾ÜºÙɽ¼¨¥â¡¼¥É¤òÍ­¸ú¤Ë¤¹¤ë¡£
615 .br
616 .\"O See \fB\ MISCELLANEOUS\ OPTIONS\fR.
617 ¡Ö\fB¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
618 .TP
619 .B -version\fR
620 .\"O Output the version number of \fBindent\fR.
621 \fBindent\fR ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£
622 .br
623 .\"O See \fB\ MISCELLANEOUS\ OPTIONS\fR.
624 ¡Ö\fB¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
625
626 .\"O .SH "INVOKING INDENT"
627 .SH "indent ¤Îµ¯Æ°"
628
629 .\"O As of version 1.3, the format of the \fBindent\fR command is:
630 ¥Ð¡¼¥¸¥ç¥ó 1.3 ¤«¤é¤Ï¡¢\fBindent\fR ¥³¥Þ¥ó¥É¤Î½ñ¼°¤Ï
631 °Ê²¼¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë:
632
633 .in +5
634 .nf
635 .na
636
637 indent [\fIoptions\fR] [\fIinput-files\fR]
638
639 indent [\fIoptions\fR] [\fIsingle-input-file\fR] [-o \fIoutput-file\fR]
640
641 .in -5
642 .ad
643 .fi
644
645 .\"O This format is different from earlier versions and other versions of
646 .\"O .B indent\fR.
647 ¤³¤Î½ñ¼°¤Ï¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤ä¾¥Ð¡¼¥¸¥ç¥ó¤Î \fBindent\fR ¤È°Û¤Ê¤ë¡£
648
649 .\"O In the first form, one or more input files are specified.  \fBindent\fR
650 .\"O makes a backup copy of each file, and the original file is replaced with
651 .\"O its indented version.  See \fBBACKUP\ FILES\fR, for an explanation of how
652 .\"O backups are made.
653 ºÇ½é¤Î½ñ¼°¤Ç¤Ï 1 ¤Ä°Ê¾å¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡£
654 \fBindent\fR ¤Ï¡¢³Æ¥Õ¥¡¥¤¥ë¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¥³¥Ô¡¼¤òºîÀ®¤·¤Æ¤«¤é¡¢
655 ¥ª¥ê¥¸¥Ê¥ë¤Î¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤·¤¿¤â¤Î¤ËÃÖ¤­´¹¤¨¤ë¡£
656 ¥Ð¥Ã¥¯¥¢¥Ã¥×¤Îºî¤êÊý¤Ë¤Ä¤¤¤Æ¤Ï¡¢
657 ¡Ö\fB¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
658
659 .\"O In the second form, only one input file is specified.  In this case, or
660 .\"O when the standard input is used, you may specify an output file after
661 .\"O the \`-o\' option.
662 2 ÈÖÌܤνñ¼°¤Ç¤ÏÆþÎÏ¥Õ¥¡¥¤¥ë¤ò 1 ¤Ä¤À¤±»ØÄꤹ¤ë¡£
663 ¤³¤Î¾ì¹ç¡¢¤Þ¤¿¤Ïɸ½àÆþÎϤò»È¤¦¾ì¹ç¤Ë¤Ï¡¢
664 \`-o\' ¥ª¥×¥·¥ç¥ó¤Î¸å¤Ë½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
665
666 .\"O To cause \fBindent\fR to write to standard output, use the \`-st\'
667 .\"O option.  This is only allowed when there is only one input file, or when
668 .\"O the standard input is used.
669 \fBindent\fR ¤Ëɸ½à½ÐÎϤؽÐÎϤµ¤»¤ë¤Ë¤Ï \`-st\' ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¡£
670 ¤³¤ì¤¬µö¤µ¤ì¤ë¤Î¤Ï¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤¬ 1 ¤Ä¤À¤±¤Î¾ì¹ç¤«¡¢
671 ɸ½àÆþÎϤò»È¤¦¾ì¹ç¤À¤±¤Ç¤¢¤ë¡£
672
673 .\"O If no input files are named, the standard input is read for input.
674 .\"O Also, if a filename named \`-\' is specified, then the standard input
675 .\"O is read.
676 ÆþÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Ê¤±¤ì¤ÐÆþÎϤÏɸ½àÆþÎϤ«¤éÆɤ߹þ¤Þ¤ì¤ë¡£
677 ¤Þ¤¿¡¢\`-\' ¤È¤¤¤¦¥Õ¥¡¥¤¥ë̾¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ë¤âɸ½àÆþÎϤ¬Æɤ߹þ¤Þ¤ì¤ë¡£
678
679 .\"O As an example, each of the following commands will input the program
680 .\"O \`slithy_toves.c\' and write its indented text to
681 .\"O \`slithy_toves.out\':
682 »ÈÍÑÎã¤È¤·¤Æ¤Ï¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï
683 ¤¤¤º¤ì¤â¥×¥í¥°¥é¥à \`slithy_toves.c\' ¤òÆɤ߹þ¤ß¡¢
684 ¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤·¤¿¥Æ¥­¥¹¥È¤ò \`slithy_toves.out\' ¤Ë½ñ¤­¹þ¤à:
685
686 .in +5
687 .nf
688 .na
689
690 indent slithy_toves.c -o slithy_toves.out
691
692 indent -st slithy_toves.c > slithy_toves.out
693
694 cat slithy_toves.c | indent -o slithy_toves.out
695
696 .in -5
697 .ad
698 .fi
699
700 .\"O Most other options to \fBindent\fR control how programs are formatted.
701 .\"O As of version 1.2, \fBindent\fR also recognizes a long name for each
702 .\"O option name.  Long options are prefixed by either \`--\' or
703 .\"O \`+\'.
704 .\"O [ \`+\' is being superseded by \`--\' to
705 .\"O maintain consistency with the POSIX standard.]
706 \fBindent\fR ¤Î¾¤Î¥ª¥×¥·¥ç¥ó¤Î¤Û¤È¤ó¤É¤Ï¡¢
707 ¥×¥í¥°¥é¥à¤ò¤É¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¤«¤òÀ©¸æ¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¢¤ë¡£
708 ¥Ð¡¼¥¸¥ç¥ó 1.2 ¤«¤é¤Ï¡¢\fBindent\fR ¤Ï
709 ³Æ¥ª¥×¥·¥ç¥ó̾¤È¤·¤ÆŤ¤Ì¾Á°¤âǧ¼±¤¹¤ë¡£
710 Ť¤¥ª¥×¥·¥ç¥ó¤ÎÁ°¤Ë¤Ï \`--\' ¤« \`+\' ¤¬ÃÖ¤«¤ì¤ë¡£
711 [POSIX É¸½à¤È°ì´ÓÀ­¤ò»ý¤¿¤»¤ë¤¿¤á¡¢
712 ¸½ºß¤Ï \`+\' ¤ò \`--\' ¤ËÃÖ¤­´¹¤¨¤è¤¦¤È¤·¤Æ¤¤¤ë¤È¤³¤í¤Ç¤¢¤ë¡£]
713 .br
714 .\"O  In most of this document,
715 .\"O the traditional, short names are used for the sake of brevity.
716 Ëܥɥ­¥å¥á¥ó¥È¤ÎÂçÉôʬ¤Ç¤Ï¡¢
717 ´Ê·é¤Ëɽ¸½¤¹¤ë¤¿¤á¤ËÅÁÅýŪ¤Êû¤¤Ì¾Á°¤ò»È¤Ã¤Æ¤¤¤ë¡£
718 .\"O See \fBOPTION\ SUMMARY\fR, for a list of options, including both long and
719 .\"O short names.
720 Ť¤¥ª¥×¥·¥ç¥ó̾¤Èû¤¤¥ª¥×¥·¥ç¥ó̾¤Î¥ê¥¹¥È¤Ï¡¢
721 ¡Ö\fB¥ª¥×¥·¥ç¥ó¤Î³µÍ×\fR¡×¤ò»²¾È¤¹¤ë¤³¤È¡£
722
723 .\"O Here is another example:
724 Ê̤λÈÍÑÎã¤òµó¤²¤ë:
725
726 .in +5
727 .nf
728 .na
729 indent -br test/metabolism.c -l85
730 .in -5
731 .ad
732 .fi
733
734 .\"O This will indent the program \`test/metabolism.c\' using the
735 .\"O \`-br\' and \`-l85\' options, write the output back to
736 .\"O \`test/metabolism.c\', and write the original contents of
737 .\"O \`test/metabolism.c\' to a backup file in the directory \`test\'.
738 ¤³¤ì¤Ë¤è¤ê¡¢¥×¥í¥°¥é¥à \`test/metabolism.c\' ¤¬
739 \`-br\' ¥ª¥×¥·¥ç¥ó¤È \`-l85\' ¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤Æ¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤µ¤ì¡¢
740 ¤½¤Î½ÐÎϤ¬ \`test/metabolism.c\' ¤Ë½Å¤Í½ñ¤­¤µ¤ì¡¢
741 ¸µ¤Î \`test/metabolism.c\' ¤ÎÆâÍƤÏ
742 \`test\' ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤È¤·¤Æ½ñ¤­¹þ¤Þ¤ì¤ë¡£
743
744 .\"O Equivalent invocations using long option names for this example would
745 .\"O be:
746 ¤³¤ÎÎã¤ÈƱ¤¸»ØÄê¤òŤ¤¥ª¥×¥·¥ç¥ó̾¤òÍѤ¤¤Æ¹Ô¤¦¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
747
748 .in +5
749 .nf
750 .na
751
752 indent --braces-on-if-line --line-length185 test/metabolism.c
753
754 indent +braces-on-if-line +line-length185 test/metabolism.c
755
756 .in -5
757 .ad
758 .fi
759
760 .\"O If you find that you often use \fBindent\fR with the same options, you
761 .\"O may put those options into a file named \`.indent.pro\'.
762 \fBindent\fR ¤òÉÑÈˤËƱ¤¸¥ª¥×¥·¥ç¥ó¤Ç»È¤¦¤Ê¤é¤Ð¡¢
763 ¤³¤ì¤é¤ò \`.indent.pro\' ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤¤Æ¤ª¤¯¤È¤è¤¤¡£
764 .\"O .B indent\fR will look for a profile file in three places. First it will check
765 .\"O the environment variable \fBINDENT_PROFILE\fR. If that exists its value 
766 .\"O is expected to name the file that is to be used. If the environment variable does 
767 .\"O not exist, indent looks for \`.indent.pro\' in the current directory
768 .\"O  and use that if found.  Finally \fBindent\fR will search
769 .\"O your home directory for \`.indent.pro\' and use that file if it is
770 .\"O found.  This behaviour is different from that of other versions of
771 .\"O .B indent\fR, which load both files if they both exist.
772 \fBindent\fR ¤Ï 3 ¤Ä¤Î¾ì½ê¤Ç¥×¥í¥Õ¥¡¥¤¥ë¥Õ¥¡¥¤¥ë¤òõ¤¹¡£
773 ºÇ½é¤Ë´Ä¶­ÊÑ¿ô \fBINDENT_PROFILE\fR ¤¬¤¢¤ë¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
774 ¤³¤Î´Ä¶­ÊÑ¿ô¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ÎÃͤò»ÈÍѤ¹¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤È¤·¤Æ²ò¼á¤¹¤ë¡£
775 ¤³¤Î´Ä¶­ÊÑ¿ô¤¬¤Ê¤¤¾ì¹ç¡¢\fBindent\fR ¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î
776 \`.indent.pro\' ¤òõ¤·¡¢¤â¤·Â¸ºß¤¹¤ì¤Ð¤³¤ì¤ò»È¤¦¡£
777 \fBindent\fR ¤ÏºÇ¸å¤Ë¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î \`.indent.pro\' ¤òõ¤·¡¢
778 ¤â¤·Â¸ºß¤¹¤ì¤Ð¤³¤ì¤ò»È¤¦¡£
779 ¤³¤ÎÆ°ºî¤Ï½¾Íè¤Î¥Ð¡¼¥¸¥ç¥ó¤äÊ̥С¼¥¸¥ç¥ó¤Î \fBindent\fR ¤È°Û¤Ê¤ë¡£
780 ¤³¤ì¤é¤Ï¡¢Î¾Êý¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë \`.indent.pro\' ¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¡¢
781 ξÊý¤È¤â»ÈÍѤ¹¤ë¡£
782
783 .\"O The format of \`.indent.pro\' is simply a list of options, just as
784 .\"O they would appear on the command line, separated by white space (tabs,
785 .\"O spaces, and newlines).  Options in \`.indent.pro\' may be surrounded by C
786 .\"O or C++ comments, in which case they are ignored.
787 \`.indent.pro\' ¤Î½ñ¼°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë»ØÄꤹ¤ë¤Î¤ÈƱ¤¸¤¯¡¢
788 ¶õÇò (¥¿¥Ö¡¢¥¹¥Ú¡¼¥¹¡¢²þ¹Ô) ¤Ç¶èÀÚ¤é¤ì¤¿Ã±¤Ê¤ë¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤Ç¤¢¤ë¡£
789 \`.indent.pro\' ¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢
790 C ¤Þ¤¿¤Ï C++ ¤Î¥³¥á¥ó¥È¤Ç°Ï¤à¤³¤È¤¬¤Ç¤­¤ë¡£
791 ¥³¥á¥ó¥È¤Ç°Ï¤ó¤À¥ª¥×¥·¥ç¥ó¤Ï̵»ë¤µ¤ì¤ë¡£
792
793 .\"O Command line switches are handled \fIafter\fR processing
794 .\"O \`.indent.pro\'.  Options specified later override arguments
795 .\"O specified earlier, with one exception: Explicitly specified options
796 .\"O always override background options (See \fBCOMMON\ STYLES\fR).  You can
797 .\"O prevent \fBindent\fR from reading an \`.indent.pro\' file by
798 .\"O specifying the \`-npro\' option.
799 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤¬½èÍý¤µ¤ì¤ë¤Î¤Ï¡¢
800 \`.indent.pro\' ¤ò½èÍý¤·¤¿\fI¸å\fR¤Ç¤¢¤ë¡£
801 ¸å¤«¤é»ØÄꤷ¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢Á°¤Ë»ØÄꤷ¤¿°ú¤­¿ô¤ò¾å½ñ¤­¤¹¤ë¡£
802 ¤³¤ì¤Ë¤ÏÎã³°¤¬ 1 ¤Ä¤¢¤ë: ÌÀ¼¨Åª¤Ë»ØÄꤷ¤¿¥ª¥×¥·¥ç¥ó¤Ï
803 °ÅÌۤΥª¥×¥·¥ç¥ó¤òɬ¤º¾å½ñ¤­¤¹¤ë(¡Ö\fB°ìÈÌŪ¤Ê¥¹¥¿¥¤¥ë\fR¡×¤ò»²¾È)¡£
804 \`-npro\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢
805 \fBindent\fR ¤¬ \`.indent.pro\' ¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤Þ¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
806
807 .\"O .SH "BACKUP FILES"
808 .SH ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë
809
810 .\"O As of version 1.3, GNU \fBindent\fR makes GNU-style backup files, the
811 .\"O same way GNU Emacs does.  This means that either \fIsimple\fR or
812 .\"O .I numbered\fR backup filenames may be made.
813 ¥Ð¡¼¥¸¥ç¥ó 1.3 ¤«¤é¤Ï¡¢GNU \fBindent\fR ¤Ï GNU ·Á¼°¡¢
814 ¤¹¤Ê¤ï¤Á GNU Emacs ¤ÈƱÍͤÎÊýË¡¤Ç¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£
815 ¤Ä¤Þ¤ê¡¢\fIñ½ã¤Ê\fR¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤È
816 \fIÈÖ¹æÉÕ¤­¤Î\fR¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤ò¤É¤Á¤é¤âºîÀ®¤Ç¤­¤ë¡£
817
818 .\"O Simple backup file names are generated by appending a suffix to the
819 .\"O original file name.  The default for this suffix is the
820 .\"O one-character string \`~\' (tilde).  Thus, the backup file for
821 .\"O \`python.c\' would be \`python.c~\'.
822 ñ½ã¤Ê¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢
823 ¸µ¤Î¥Õ¥¡¥¤¥ë̾¤Ë¥µ¥Õ¥£¥Ã¥¯¥¹¤òÄɲä·¤ÆÀ¸À®¤µ¤ì¤ë¡£
824 ¤³¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϡ¢
825 1 Ê¸»ú¤«¤é¤Ê¤ëʸ»úÎó \`~\' (¥Á¥ë¥À)¤Ç¤¢¤ë¡£
826 ¤·¤¿¤¬¤Ã¤Æ¡¢\`python.c\' ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Ï \`python.c~\' ¤È¤Ê¤ë¡£
827
828 .\"O Instead of the default, you may specify any string as a suffix by
829 .\"O setting the environment variable \fBSIMPLE_BACKUP_SUFFIX\fR to
830 .\"O your preferred suffix.
831 ´Ä¶­ÊÑ¿ô \fBSIMPLE_BACKUP_SUFFIX\fR ¤Ë¹¥¤­¤Êʸ»úÎó¤òÀßÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢
832 ¥Ç¥Õ¥©¥ë¥ÈÃͰʳ°¤ÎǤ°Õ¤Îʸ»úÎó¤ò¥µ¥Õ¥£¥Ã¥¯¥¹¤È¤·¤Æ»ÈÍѤǤ­¤ë¡£
833
834 .\"O Numbered backup versions of a file \`momeraths.c\' look like
835 .\"O \`momeraths.c.~23~\', where 23 is the version of this particular
836 .\"O backup.  When making a numbered backup of the file \`src/momeraths.c\',
837 .\"O the backup file will be named \`src/momeraths.c.~\fIV\fR~\', where
838 .\"O .I V\fR is one greater than the highest version currently existing in
839 .\"O the directory \`src\'.  The environment variable \fBVERSION_WIDTH\fR
840 .\"O controls the number of digits, using left zero padding when necessary.
841 ¥Õ¥¡¥¤¥ë \`momeraths.c\' ¤ÎÈÖ¹æÉÕ¤­¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ï¡¢
842 \`momeraths.c.~23~\' ¤Î¤è¤¦¤Ë¤Ê¤ë¡£
843 ¤³¤³¤Ç¡¢23 ¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤¢¤ë¡£
844 ¥Õ¥¡¥¤¥ë \`src/momeraths.c\' ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºîÀ®¤¹¤ë¤È¤­¡¢
845 ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï \`src/momeraths.c.~\fIV\fR~\' ¤Î¤è¤¦¤Ë¤Ê¤ë¡£
846 ¤³¤³¤Ç¡¢\fIV\fR ¤Ï¥Ç¥£¥ì¥¯¥È¥ê \`src\' ¤Ë¸½ºß¤¢¤ë
847 ºÇ¤âÂ礭¤¤¥Ð¡¼¥¸¥ç¥ó¤è¤ê 1 Â礭¤¤¿ô»ú¤Ç¤¢¤ë¡£
848 ´Ä¶­ÊÑ¿ô \fBVERSION_WIDTH\fR ¤Ï¡¢
849 ɬÍפ˱þ¤¸¤Æº¸Â¦¤Ë 0 ¤òÄɲ乤뤳¤È¤Ë¤è¤ê¡¢¿ô»ú¤Î·å¿ô¤òÀ©¸æ¤¹¤ë¡£
850 .\"O For instance, setting this variable to "2" will lead to the backup
851 .\"O file being named \`momeraths.c.~04~\'.
852 Î㤨¤Ð¤³¤ÎÊÑ¿ô¤ò "2" ¤ËÀßÄꤹ¤ë¤È¡¢
853 ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï \`momeraths.c.~04~\' ¤Î¤è¤¦¤Ë¤Ê¤ë¡£
854
855 .\"O The type of backup file made is controlled by the value of the
856 .\"O environment variable \fBVERSION_CONTROL\fR.  If it is the string
857 .\"O \`simple\', then only simple backups will be made.  If its value is
858 .\"O the string \`numbered\', then numbered backups will be made.  If its
859 .\"O value is \`numbered-existing\', then numbered backups will be made if
860 .\"O there \fIalready exist\fR numbered backups for the file being indented;
861 .\"O otherwise, a simple backup is made.  If \fBVERSION_CONTROL\fR is not
862 .\"O set, then \fBindent\fR assumes the behaviour of
863 .\"O \`numbered-existing\'.
864 ¤É¤Á¤é¤ÎÊýË¡¤Ç¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤òºî¤ë¤«¤Ï¡¢
865 ´Ä¶­ÊÑ¿ô \fBVERSION_CONTROL\fR ¤ÇÀ©¸æ¤¹¤ë¡£
866 ¤³¤Îʸ»úÎ󤬠\`simple\' ¤Ê¤é¤Ð¡¢Ã±½ã¤Ê¥Ð¥Ã¥¯¥¢¥Ã¥×¤À¤±¤¬ºîÀ®¤µ¤ì¤ë¡£
867 ¤³¤ÎÃͤ¬ \`numbered\' ¤Ê¤é¤Ð¡¢ÈÖ¹æÉÕ¤­¥Ð¥Ã¥¯¥¢¥Ã¥×¤¬ºîÀ®¤µ¤ì¤ë¡£
868 ¤³¤ÎÃͤ¬ \`numbered-existing\' ¤Ê¤é¤Ð¡¢
869 ¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤¹¤ë¥Õ¥¡¥¤¥ë¤ÎÈÖ¹æÉÕ¤­¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤¬\fI´û¤Ë¤¢¤ë\fR¾ì¹ç¤Ë¡¢
870 ÈÖ¹æÉÕ¤­¥Ð¥Ã¥¯¥¢¥Ã¥×¤¬ºîÀ®¤µ¤ì¤ë¡£
871 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢Ã±½ã¤Ê¥Ð¥Ã¥¯¥¢¥Ã¥×¤¬ºîÀ®¤µ¤ì¤ë¡£
872 \fBVERSION_CONTROL\fR ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
873 \fBindent\fR ¤Ï \`numbered-existing\' ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤â¤Î¤È¤·¤ÆÆ°ºî¤¹¤ë¡£
874
875 .\"O Other versions of \fBindent\fR use the suffix \`.BAK\' in naming
876 .\"O backup files.  This behaviour can be emulated by setting
877 .\"O .B SIMPLE_BACKUP_SUFFIX\fR to \`.BAK\'.
878 Ê̥С¼¥¸¥ç¥ó¤Î \fBindent\fR ¤Ï¡¢
879 ¥µ¥Õ¥£¥Ã¥¯¥¹ \`.BAK\' ¤ò»È¤Ã¤Æ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Î̾Á°¤òÀ¸À®¤¹¤ë¡£
880 ¤³¤ÎÆ°ºî¤Ï¡¢\fBSIMPLE_BACKUP_SUFFIX\fR ¤Ë \`.BAK\' ¤ò
881 ÀßÄꤹ¤ë¤³¤È¤Ë¤è¤ê¥¨¥ß¥å¥ì¡¼¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
882
883 .\"O Note also that other versions of \fBindent\fR make backups in the
884 .\"O current directory, rather than in the directory of the source file as
885 .\"O GNU \fBindent\fR now does.
886 Ê̥С¼¥¸¥ç¥ó¤Î \fBindent\fR ¤Ï¡¢¸½ºß¤Î GNU \fBindent\fR ¤¬¹Ô¤¦¤è¤¦¤Ë
887 ¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºîÀ®¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
888 ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºîÀ®¤¹¤ëÅÀ¤Ë¤âÃí°Õ¤¹¤ë¤³¤È¡£
889
890 .\"O .SH "COMMON STYLES"
891 .SH °ìÈÌŪ¤Ê¥¹¥¿¥¤¥ë
892
893 .\"O There are several common styles of C code, including the GNU style, the
894 .\"O Kernighan & Ritchie style, and the original Berkeley style.  A style may
895 .\"O be selected with a single \fIbackground\fR option, which specifies a set
896 .\"O of values for all other options.  However, explicitly specified options
897 .\"O always override options implied by a background option.
898 C ¸À¸ì¤Ë¤Ï°ìÈÌŪ¤Ê¥¹¥¿¥¤¥ë¤¬¤¤¤¯¤Ä¤«¤¢¤ë¡£
899 Î㤨¤Ð¡¢GNU ¥¹¥¿¥¤¥ë¡¢Kernighan & Ritchie ¥¹¥¿¥¤¥ë¡¢
900 ¥ª¥ê¥¸¥Ê¥ë¤Î Berkeley ¥¹¥¿¥¤¥ëÅù¤Ç¤¢¤ë¡£
901 ¥¹¥¿¥¤¥ë¤Ï\fI¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É\fR¥ª¥×¥·¥ç¥ó 1 ¤Ä¤ò»È¤Ã¤ÆÁªÂò¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
902 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢Â¾¤Î¥ª¥×¥·¥ç¥óÁ´¤Æ¤ÎÃͤò»ØÄꤹ¤ë¡£
903 ¤¿¤À¤·¡¢ÌÀ¼¨Åª¤Ë»ØÄꤷ¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢
904 °ÅÌÛŪ¤Ë»ØÄꤵ¤ì¤¿¥ª¥×¥·¥ç¥ó¤è¤ê¤âɬ¤ºÍ¥À褵¤ì¤ë¡£
905
906 .\"O As of version 1.2, the default style of GNU \fBindent\fR is the GNU
907 .\"O style.  Thus, it is no longer necessary to specify the option
908 .\"O \`-gnu\' to obtain this format, although doing so will not cause an
909 .\"O error.  Option settings which correspond to the GNU style are:
910 ¥Ð¡¼¥¸¥ç¥ó 1.2 ¤«¤é¤Ï¡¢GNU \fBindent\fR ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥¿¥¤¥ë¤Ï
911 GNU ¥¹¥¿¥¤¥ë¤Ç¤¢¤ë¡£
912 ¤·¤¿¤¬¤Ã¤Æ¡¢¤³¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç½ÐÎϤ¹¤ë¤¿¤á¤Ë
913 \`-gnu\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤʤ¯¤Ê¤Ã¤¿¡£
914 ¤¿¤À¤·¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¤â¥¨¥é¡¼¤Ë¤Ï¤Ê¤é¤Ê¤¤¡£
915 GNU ¥¹¥¿¥¤¥ë¤ËÂбþ¤¹¤ë¥ª¥×¥·¥ç¥óÀßÄê¤Ï°Ê²¼¤Ç¤¢¤ë:
916
917 .in +5
918 .nf
919 .na
920 -nbad -bap -nbc -bbo -bl -bli2 -bls -ncdb -nce -cp1 -cs -di2
921 -ndj -nfc1 -nfca -hnl -i2 -ip5 -lp -pcs -nprs -psl -saf -sai
922 -saw -nsc -nsob
923 .in -5
924 .ad
925 .fi
926
927 .\"O The GNU coding style is that preferred by the GNU project.  It is the
928 .\"O style that the GNU Emacs C mode encourages and which is used in the C
929 .\"O portions of GNU Emacs.  (People interested in writing programs for
930 .\"O Project GNU should get a copy of "The GNU Coding Standards", which
931 .\"O also covers semantic and portability issues such as memory usage, the
932 .\"O size of integers, etc.)
933 GNU ¥³¡¼¥Ç¥£¥ó¥°¥¹¥¿¥¤¥ë¤Ï GNU ¥×¥í¥¸¥§¥¯¥È¤Ç¿ä¾©¤µ¤ì¤Æ¤¤¤ë¡£
934 ¤³¤ì¤Ï GNU Emacs ¤Î C ¥â¡¼¥É¤¬Å¬ÍѤ·¤è¤¦¤È¤¹¤ë¥¹¥¿¥¤¥ë¤Ç¤¢¤ê¡¢
935 GNU Emacs ¤Î C ¤Çµ­½Ò¤µ¤ì¤¿Éôʬ¤Ç»È¤ï¤ì¤Æ¤¤¤ë¥¹¥¿¥¤¥ë¤Ç¤¢¤ë¡£
936 (GNU ¥×¥í¥¸¥§¥¯¥È¤Î¤¿¤á¤Ë¥×¥í¥°¥é¥à¤ò½ñ¤¯¤³¤È¤Ë¶½Ì£¤¬¤¢¤ëÊý¤Ï¡¢
937 ¡ÖGNU ¥³¡¼¥Ç¥£¥ó¥°µ¬Ìó (The GNU Coding Standards)¡×¤òÆþ¼ê¤µ¤ì¤¿¤¤¡£
938 ¤³¤Îʸ½ñ¤Ç¤Ï¡¢¥á¥â¥ê¤Î»È¤¤Êý¤äÀ°¿ô¤Î¥µ¥¤¥ºÅù¡¢
939 ¥»¥Þ¥ó¥Æ¥£¥Ã¥¯¤ä°Ü¿¢À­¤Ë¤Ä¤¤¤Æ¤âÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¡£)
940
941 .\"O The Kernighan & Ritchie style is used throughout their well-known book
942 .\"O "The C Programming Language".  It is enabled with the \`-kr\'
943 .\"O option.  The Kernighan & Ritchie style corresponds to the following set
944 .\"O of options:
945 Kernighan & Ritchie ¥¹¥¿¥¤¥ë¤Ïͭ̾¤Ê½ñÀÒ
946 ¡Ö¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì C (The C Programming Language)¡×¤Ç»È¤ï¤ì¤Æ¤¤¤ë¡£
947 ¤³¤ì¤Ï \`-kr\' ¥ª¥×¥·¥ç¥ó¤ÇÍ­¸ú¤È¤Ê¤ë¡£
948 Kernighan & Ritchie ¥¹¥¿¥¤¥ë¤Ï¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ÎÁȹ礻¤ÈƱÅù¤Ç¤¢¤ë:
949
950 .in +5
951 .nf
952 .na
953 -nbad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0
954 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs
955 -nprs -npsl -saf -sai -saw -nsc -nsob -nss
956 .in -5
957 .ad
958 .fi
959
960 .\"O Kernighan & Ritchie style does not put comments to the right of code in
961 .\"O the same column at all times (nor does it use only one space to the
962 .\"O right of the code), so for this style \fBindent\fR has arbitrarily
963 .\"O chosen column 33.
964 Kernighan & Ritchie ¥¹¥¿¥¤¥ë¤Ç¤Ï¡¢¥³¡¼¥É¤¬¤¢¤ë¹Ô¤Î±¦¤ÎÉôʬ¤Ë¥³¥á¥ó¥È¤¬
965 Æþ¤ì¤é¤ì¤ë¤³¤È¤Ï¤Ê¤¤ (¥³¡¼¥É¤Î±¦¤Ë¶õÇò¤ò 1 ¤Ä¤À¤±Æþ¤ì¤ë¤³¤È¤â¤Ê¤¤)¡£
966 ¤·¤¿¤¬¤Ã¤Æ¡¢¤³¤Î¥¹¥¿¥¤¥ë¤Î¥«¥é¥à¿ô 33 ¤È¤¤¤¦¤Î¤Ï
967 \fBindent\fR ¤¬¾¡¼ê¤Ë·è¤á¤¿¤â¤Î¤Ç¤¢¤ë:
968
969 .\"O The style of the original Berkeley \fBindent\fR may be obtained by
970 .\"O specifying \`-orig\' (or by specifying \`--original\', using the
971 .\"O long option name).  This style is equivalent to the following settings:
972 ¥ª¥ê¥¸¥Ê¥ë¤Î Berkeley ÈÇ \fBindent\fR ¤Î¥¹¥¿¥¤¥ë¤Ï¡¢
973 \`-orig\' (¤Þ¤¿¤ÏŤ¤¥ª¥×¥·¥ç¥ó̾ \`--original\')¤ò»ØÄꤹ¤ì¤ÐÆÀ¤é¤ì¤ë¡£
974 ¤³¤Î¥¹¥¿¥¤¥ë¤Ï¡¢°Ê²¼¤ÎÀßÄê¤ÈƱ¤¸°ÕÌ£¤Ç¤¢¤ë:
975
976 .in +5
977 .nf
978 .na
979 -nbad -nbap -bbo -bc -br -brs -c33 -cd33 -cdb -ce -ci4 -cli0
980 -cp33 -di16 -fc1 -fca -hnl -i4 -ip4 -l75 -lp -npcs -nprs -psl
981 -saf -sai -saw -sc -nsob -nss -ts8
982 .in -5
983 .ad
984 .fi
985
986 .\"O .SH "BLANK LINES"
987 .SH ¶õ¹Ô
988
989 .\"O Various programming styles use blank lines in different places.
990 .\"O .B indent\fR has a number of options to insert or delete blank lines in
991 .\"O specific places.
992 ³Æ¼ï¥×¥í¥°¥é¥ß¥ó¥°¥¹¥¿¥¤¥ë¤´¤È¤Ë¡¢¶õÇò¤Ï°Û¤Ê¤ë¾ì½ê¤ËÃÖ¤«¤ì¤ë¡£
993 \fBindent\fR¤Ë¤Ï¡¢ÆÃÄê¤Î¾ì½ê¤Ë¶õÇò¹Ô¤òÁÞÆþ¡¦ºï½ü¤¹¤ë¤¿¤á¤Î
994 ¥ª¥×¥·¥ç¥ó¤¬¤¿¤¯¤µ¤ó¤¢¤ë¡£
995
996 .\"O The \`-bad\' option causes \fBindent\fR to force a blank line after
997 .\"O every block of declarations.  The \`-nbad\' option causes
998 .\"O .B indent\fR not to force such blank lines.
999 \`-bad\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1000 \fBindent\fR ¤ÏÀë¸À¥Ö¥í¥Ã¥¯Á´¤Æ¤Î¸å¤Ëɬ¤º¶õ¹Ô¤òÃÖ¤¯¡£
1001 \`-nbad\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¤³¤Î¤è¤¦¤Ê¶õÇò¹Ô¤ÏÃÖ¤«¤ì¤Ê¤¤¡£
1002
1003 .\"O The \`-bap\' option forces a blank line after every procedure body.
1004 .\"O The \`-nbap\' option forces no such blank line.
1005 \`-bap\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¼ê³¤­ËÜÂÎÁ´¤Æ¤Î¸å¤Ëɬ¤º¶õ¹Ô¤¬ÃÖ¤«¤ì¤ë¡£
1006 \`-nbap\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¤³¤Î¤è¤¦¤Ê¶õ¹Ô¤ÏÃÖ¤«¤ì¤Ê¤¤¡£
1007
1008 .\"O The \`-bbb\' option forces a blank line before every boxed comment
1009 .\"O (See \fBCOMMENTS\fR.)
1010 .\"O The \`-nbbb\' option does not force such blank lines.
1011 \`-bbb\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1012 È¢·Á¥³¥á¥ó¥ÈÁ´¤Æ¤ÎÁ°¤Ëɬ¤º¶õ¹Ô¤¬ÃÖ¤«¤ì¤ë
1013 (È¢·Á¥³¥á¥ó¥È¤Ë¤Ä¤¤¤Æ¤Ï¡Ö\fB¥³¥á¥ó¥È\fR¡×¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È)¡£
1014 \`-nbbb\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¤³¤Î¤è¤¦¤Ê¶õ¹Ô¤ÏÃÖ¤«¤ì¤Ê¤¤¡£
1015
1016 .\"O The \`-sob\' option causes \fBindent\fR to swallow optional blank
1017 .\"O lines (that is, any optional blank lines present in the input will be
1018 .\"O removed from the output).  If the \`-nsob\' is specified, any blank
1019 .\"O lines present in the input file will be copied to the output file.
1020 \`-sob\' ¤ò»ØÄꤹ¤ë¤È¡¢\fBindent\fR ¤Ï¾Êά¤Ç¤­¤ë¶õ¹Ô¤ò°û¤ß¹þ¤ó¤Ç¤·¤Þ¤¦
1021 (¤Ä¤Þ¤ê¡¢ÆþÎϹԤ˴ޤޤì¤ë¾Êά¤Ç¤­¤ë¶õ¹Ô¤¬½ÐÎϤ«¤éÁ´¤Æºï½ü¤µ¤ì¤ë)¡£
1022 \`-nsob\' ¤ò»ØÄꤹ¤ë¤È¡¢
1023 ÆþÎϹԤ˴ޤޤì¤ë¶õ¹Ô¤Ï½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë¤âÁ´¤Æ¥³¥Ô¡¼¤µ¤ì¤ë¡£
1024
1025
1026 .SH "--blank-lines-after-declarations"
1027
1028 .\"O The \`-bad\' option forces a blank line after every block of
1029 .\"O declarations.  The \`-nbad\' option does not add any such blank
1030 .\"O lines.
1031 \`-bad\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢Àë¸À¥Ö¥í¥Ã¥¯¤Î¸å¤Ëɬ¤º¶õ¹Ô¤¬ÃÖ¤«¤ì¤ë¡£
1032 \`-nbad\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¤³¤Î¤è¤¦¤Ê¶õ¹Ô¤ÏÄɲ䵤ì¤Ê¤¤¡£
1033
1034 .\"O For example, given the input
1035 Î㤨¤Ð¡¢°Ê²¼¤ÎÆþÎϤòÍ¿¤¨¤ë¤È
1036 .in +5
1037 .nf
1038 .na
1039 char *foo;
1040 char *bar;
1041 .\"O /* This separates blocks of declarations.  */
1042 /* ¤³¤Î¥³¥á¥ó¥È¤ÏÀë¸À¤Î¥Ö¥í¥Ã¥¯¤òʬ¤±¤Æ¤¤¤ë */
1043 int baz;
1044 .in -5
1045 .ad
1046 .fi
1047
1048 .\"O .B indent -bad\fR produces
1049 \fBindent -bad\fR ¤Î½ÐÎϤϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤ë¡£
1050
1051 .in +5
1052 .nf
1053 .na
1054 char *foo;
1055 char *bar;
1056
1057 .\"O /* This separates blocks of declarations.  */
1058 /* ¤³¤Î¥³¥á¥ó¥È¤ÏÀë¸À¤Î¥Ö¥í¥Ã¥¯¤òʬ¤±¤Æ¤¤¤ë */
1059 int baz;
1060 .in -5
1061 .ad
1062 .fi
1063
1064 .\"O and \fBindent -nbad\fR produces
1065 ¤Þ¤¿¡¢\fBindent -nbad\fR ¤Î½ÐÎϤϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤ë¡£
1066
1067 .in +5
1068 .nf
1069 .na
1070 char *foo;
1071 char *bar;
1072 .\"O /* This separates blocks of declarations.  */
1073 /* ¤³¤Î¥³¥á¥ó¥È¤ÏÀë¸À¤Î¥Ö¥í¥Ã¥¯¤òʬ¤±¤Æ¤¤¤ë */
1074 int baz;
1075 .in -5
1076 .ad
1077 .fi
1078
1079 .SH "--blank-lines-after-procedures"
1080
1081 .\"O The \`-bap\' option forces a blank line after every procedure body.
1082 \`-bap\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¤½¤ì¤¾¤ì¤ÎÀë¸ÀËÜÂΤθå¤Ëɬ¤º¶õ¹Ô¤¬ÃÖ¤«¤ì¤ë¡£
1083
1084 .\"O For example, given the input
1085 Î㤨¤Ð¡¢°Ê²¼¤ÎÆþÎϤòÍ¿¤¨¤ë¤È
1086
1087 .in +5
1088 .nf
1089 .na
1090 int
1091 foo ()
1092 {
1093   puts("Hi");
1094 }
1095 .\"O /* The procedure bar is even less interesting.  */
1096 /* ¤³¤Î¼ê³¤­ bar ¤Ë¤Ï°ÕÌ£¤Ï¤Ê¤¤  */
1097 char *
1098 bar ()
1099 {
1100   puts("Hello");
1101 }
1102 .in -5
1103 .ad
1104 .fi
1105
1106 .\"O .B indent -bap\fR produces
1107 \fBindent -bap\fR ¤Î½ÐÎϤϰʲ¼¤È¤Ê¤ë¡£
1108
1109 .in +5
1110 .nf
1111 .na
1112 int
1113 foo ()
1114 {
1115   puts ("Hi");
1116 }
1117
1118 .\"O /* The procedure bar is even less interesting.  */
1119 /* ¤³¤Î¼ê³¤­ bar ¤Ë¤Ï°ÕÌ£¤Ï¤Ê¤¤  */
1120 char *
1121 bar ()
1122 {
1123   puts ("Hello");
1124 }
1125 .in -5
1126 .ad
1127 .fi
1128
1129 .\"O and \fBindent -nbap\fR produces
1130 ¤Þ¤¿¡¢\fBindent -nbap\fR ¤Î½ÐÎϤϰʲ¼¤È¤Ê¤ë¡£
1131
1132 .in +5
1133 .nf
1134 .na
1135 int
1136 foo ()
1137 {
1138   puts ("Hi");
1139 }
1140 .\"O /* The procedure bar is even less interesting.  */
1141 /* ¤³¤Î¼ê³¤­ bar ¤Ë¤Ï°ÕÌ£¤Ï¤Ê¤¤  */
1142 char *
1143 bar ()
1144 {
1145   puts ("Hello");
1146 }
1147 .in -5
1148 .ad
1149 .fi
1150
1151 .\"O No blank line will be added after the procedure \fBfoo\fR.
1152 ¼ê³¤­ \fBfoo\fR ¤Î¸å¤Ë¤Ï¶õ¹Ô¤ÏÄɲ䵤ì¤Ê¤¤¡£
1153
1154 .\"O .SH "COMMENTS"
1155 .SH ¥³¥á¥ó¥È
1156
1157 .\"O .B indent\fR formats both C and C++ comments. C comments are begun with
1158 .\"O \`/*\', terminated with \`*/\' and may contain newline characters.
1159 .\"O C++ comments begin with the delimiter \`//\' and end at the newline.
1160 \fBindent\fR ¤Ï C ¤È C++ ¤Î¥³¥á¥ó¥È¤òÀ°·Á¤¹¤ë¡£
1161 C ¤Î¥³¥á¥ó¥È¤Ï \`/*\' ¤Ç»Ï¤Þ¤Ã¤Æ \`*/\' ¤Ç½ª¤ê¡¢
1162 ²þ¹Ôʸ»ú¤ò´Þ¤ó¤Ç¤â¤è¤¤¡£
1163 C++ ¤Î¥³¥á¥ó¥È¤Ï¶èÀÚ¤êʸ»ú \`//\' ¤Ç»Ï¤Þ¤ê²þ¹Ô¤Ç½ª¤ë¡£
1164
1165 .\"O .B indent\fR handles comments differently depending upon their context.
1166 .\"O .B indent\fR attempts to distinguish between comments which follow
1167 .\"O statements, comments which follow declarations, comments following
1168 .\"O preprocessor directives, and comments which are not preceded by code of
1169 .\"O any sort, i.e., they begin the text of the line (although not
1170 .\"O neccessarily in column 1).
1171 \fBindent\fR ¤Ï¥³¥á¥ó¥È¤Îʸ̮¤Ë¤è¤Ã¤ÆÊÌ¡¹¤Î°·¤¤Êý¤ò¤¹¤ë¡£
1172 \fBindent\fR ¤Ïʸ¡¦Àë¸À¡¦
1173 ¥×¥ê¥×¥í¥»¥Ã¥µ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤¬¸å¤Ë³¤¯¥³¥á¥ó¥È¤È
1174 ¤É¤Î¥³¡¼¥É¤ÎÁ°¤Ë¤âÃÖ¤«¤ì¤Æ¤¤¤Ê¤¤¥³¥á¥ó¥È¤ò¶èÊ̤¹¤ë¡£
1175 ¤É¤Î¥³¡¼¥É¤ÎÁ°¤Ë¤âÃÖ¤«¤ì¤Æ¤¤¤Ê¤¤¥³¥á¥ó¥È¤È¤Ï¡¢
1176 ¹Ô¤¬³«»Ï¤µ¤ì¤ë¥³¥á¥ó¥È¤Î¤³¤È¤Ç¤¢¤ë
1177 (¥«¥é¥à 1 ¤«¤é»Ï¤Þ¤Ã¤Æ¤¤¤ëɬÍפϤʤ¤)¡£
1178
1179 .\"O .B indent\fR further distinguishes between comments found outside of
1180 .\"O procedures and aggregates, and those found within them.  In particular,
1181 .\"O comments beginning a line found within a procedure will be indented to
1182 .\"O the column at which code is currently indented.  The exception to this a
1183 .\"O comment beginning in the leftmost column;  such a comment is output
1184 .\"O at that column.
1185 ¤µ¤é¤Ë \fBindent\fR ¤Ï¼ê³¤­¤ä½¸¹çÂΤγ°Â¦¤Ë¤¢¤ë¥³¥á¥ó¥È¤È
1186 Æ⦤ˤ¢¤ë¥³¥á¥ó¥È¤ò¶èÊ̤¹¤ë¡£
1187 Æä˼곤­¤ÎÆ⦤ǹԤκǽé¤Ë¤¢¤ë¥³¥á¥ó¥È¤Ï¡¢
1188 ¥³¡¼¥É¤¬¸½ºß¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥«¥é¥à¤Ë¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤ë¡£
1189 ºÇ¤âº¸Â¦¤Î¥«¥é¥à¤«¤é»Ï¤Þ¤ë¥³¥á¥ó¥È¤ÏÎã³°¤Ç¤¢¤ê¡¢
1190 ¥³¥á¥ó¥È¤Ï¤½¤Î¥«¥é¥à¤«¤é½ÐÎϤµ¤ì¤ë¡£
1191
1192 .\"O .B indent\fR attempts to leave \fIboxed comments\fR unmodified.  The
1193 .\"O general idea of such a comment is that it is enclosed in a rectangle or
1194 .\"O \`\`box\'\' of stars or dashes to visually set it apart.  More precisely,
1195 .\"O boxed comments are defined as those in which the initial \`/*\' is
1196 .\"O followed immediately by the character \`*\', \`=\', \`_\', or
1197 .\"O \`-\', or those in which the beginning comment delimiter (\`/*\')
1198 .\"O is on a line by itself, and the following line begins with a \`*\' in
1199 .\"O the same column as the star of the opening delimiter.
1200 \fBindent\fR ¤Ï\fIÈ¢·Á\fR¥³¥á¥ó¥È¤òÊѹ¹¤·¤Ê¤¤¡£
1201 \`*\' ¤ä \`-\' ¤Ç»Í³Ñ·Á¤ä¡ÖÈ¢·Á¡×¤Ë°Ï¤ó¤À¥³¥á¥ó¥È¤Ï¡¢
1202 ¾¤«¤é»ë³ÐŪ¤Ë¶èÊ̤·¤¿¤¤¤È¤¤¤¦°ìÈÌŪ¤Ê°Õ¿Þ¤¬¤¢¤ë¤¿¤á¤Ç¤¢¤ë¡£
1203 ¤â¤Ã¤ÈÀµ³Î¤Ë¸À¤¦¤È¡¢È¢·Á¥³¥á¥ó¥È¤Ï¼¡¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤ë¡£
1204 ºÇ½é¤Î \`/*\' ¤Îľ¸å¤Ëʸ»ú \`*\', \`=\', \`_\', \`-\' ¤¬Â³¤¤¤Æ¤¤¤ë¤«¡¢
1205 ¥³¥á¥ó¥È³«»Ï¶èÀÚ¤êʸ»ú (\`/*\') ¤À¤±¤Î¹Ô¤¬¤¢¤ê¡¢
1206 °Ê¹ß¤Î¹Ô¤Ï¥³¥á¥ó¥È³«»Ï¶èÀÚ¤êʸ»ú¤Î \`*\' ¤ÈƱ¤¸¥«¥é¥à¤«¤é
1207 \`*\' ¤Ç¹Ô¤¬³«»Ï¤µ¤ì¤ë¡£
1208
1209 .\"O Examples of boxed comments are:
1210 È¢·Á¥³¥á¥ó¥È¤ÎÎã¤ò¼¨¤¹:
1211
1212 .in +5
1213 .nf
1214 .na
1215 .\"O /**********************
1216 .\"O  * Comment in a box!! *
1217 .\"O  **********************/
1218 /**********************
1219  * È¢¤ÎÃæ¤Î¥³¥á¥ó¥È!! *
1220  **********************/
1221
1222 .\"O        /*
1223 .\"O         * A different kind of scent,
1224 .\"O         * for a different kind of comment.
1225 .\"O         */
1226        /*
1227         * Ê̤ʼïÎà¤Î¥³¥á¥ó¥È¤Ë¤Ï¡¢
1228         * Ê̤ʷÁ¼°¤ò»È¤¦¡£
1229         */
1230 .in -5
1231 .ad
1232 .fi
1233
1234 .\"O .B indent\fR attempts to leave boxed comments exactly as they are found
1235 .\"O in the source file.  Thus the indentation of the comment is unchanged,
1236 .\"O and its length is not checked in any way.  The only alteration made is
1237 .\"O that an embedded tab character may be converted into the appropriate
1238 .\"O number of spaces.
1239 \fBindent\fR ¤ÏÈ¢·Á¤Î¥³¥á¥ó¥È¤ò
1240 ¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¸«¤Ä¤«¤Ã¤¿¾ì½ê¤Ë»Ä¤·¤Æ¤ª¤¯¡£
1241 ¤è¤Ã¤Æ¥³¥á¥ó¥È¤Î¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤ÏÊѤï¤é¤º¡¢
1242 ¤½¤ÎŤµ¤â¤É¤Á¤é¤Ë¤·¤Æ¤âÊѤï¤é¤Ê¤¤¡£
1243 Ê̤ʥ⡼¥É¤Ç¤Ï¡¢Ëä¤á¹þ¤Þ¤ì¤¿¥¿¥Öʸ»ú¤¬Å¬Àڤʿô¤Î¶õÇò¤ËÊÑ´¹¤µ¤ì¤ë¤À¤±¤Ç¤¢¤ë¡£
1244
1245 .\"O If the \`-bbb\' option is specified, all such boxed comments will be
1246 .\"O preceded by a blank line, unless such a comment is preceded by code.
1247 \`-bbb\' ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
1248 È¢·Á¥³¥á¥ó¥È¤¬¥³¡¼¥É¤ÎÁ°¤ËÃÖ¤«¤ì¤Æ¤¤¤Ê¤¤¤È¤­¤Ï¡¢
1249 È¢·Á¥³¥á¥ó¥È¤Î¸å¤Ë¶õ¹Ô¤òÃÖ¤¯¡£
1250
1251 .\"O Comments which are not boxed comments may be formatted, which means that
1252 .\"O the line is broken to fit within a right margin and left-filled with
1253 .\"O whitespace.  Single newlines are equivalent to a space, but blank lines
1254 .\"O (two or more newlines in a row) are taken to mean a paragraph break.
1255 È¢·Á¤Ç¤Ê¤¤¥³¥á¥ó¥È¤ÏÀ°·Á¤µ¤ì¤ë¡£
1256 ¤³¤ì¤Ï¡¢¹Ô¤¬±¦Ã¼¤Ë¹ç¤¦¤è¤¦¤ËÀÞ¤êÊÖ¤µ¤ì¡¢
1257 º¸Â¦¤Ï¶õÇò¤ÇËä¤á¤é¤ì¤ë¤È¤¤¤¦°ÕÌ£¤Ç¤¢¤ë¡£
1258 1 ¤Ä¤Î²þ¹Ôʸ»ú¤Ï¶õÇò¤ÈƱ¤¸¤Ç¤¢¤ë¤¬¡¢
1259 (1 ¹Ô¤Ë 2 ¤Ä°Ê¾å¤Î²þ¹Ôʸ»ú¤¬¤¢¤ë) ¶õ¹Ô¤Ï
1260 ¥Ñ¥é¥°¥é¥Õ¤ÎÀÚ¤ìÌܤȤ·¤Æ²ò¼á¤µ¤ì¤ë¡£
1261 .\"O Formatting of comments which begin after the first column is enabled
1262 .\"O with the \`-fca\' option.  To format those beginning in column one,
1263 .\"O specify \`-fc1\'.  Such formatting is disabled by default.
1264 ºÇ½é¤Î¥«¥é¥à¤Î¸å¤«¤é»Ï¤Þ¤ë¥³¥á¥ó¥È¤ÎÀ°·Á¤Ï¡¢
1265 \`-fca\' ¥ª¥×¥·¥ç¥ó¤ÇÍ­¸ú¤Ë¤Ê¤ë¡£
1266 ¥«¥é¥à 1 ¤«¤é»Ï¤Þ¤ë¥³¥á¥ó¥È¤òÀ°·Á¤¹¤ë¤Ë¤Ï¡¢\`-fc1\' ¤ò»ØÄꤹ¤ë¡£
1267 ¤³¤Î¤è¤¦¤ÊÀ°·Á¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵¸ú¤Ë¤µ¤ì¤Æ¤¤¤ë¡£
1268
1269 .\"O The right margin for formatting defaults to 78, but may be changed with
1270 .\"O the \`-lc\' option.  If the margin specified does not allow the
1271 .\"O comment to be printed, the margin will be automatically extended for the
1272 .\"O duration of that comment.  The margin is not respected if the comment is
1273 .\"O not being formatted.
1274 À°·Á¤¹¤ëºÝ¤Î±¦Ã¼¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 78 ¤Ç¤¢¤ë¤¬¡¢
1275 \`-lc\' ¥ª¥×¥·¥ç¥ó¤ÇÊѹ¹¤Ç¤­¤ë¡£
1276 »ØÄꤵ¤ì¤¿±¦Ã¼¤Þ¤Ç¤Ç¥³¥á¥ó¥È¤¬É½¼¨¤Ç¤­¤Ê¤¤¾ì¹ç¡¢
1277 ¥³¥á¥ó¥È¤Î½ª¤ê¤Þ¤Ç±¦Ã¼¤¬¼«Æ°Åª¤Ë³ÈÄ¥¤µ¤ì¤ë¡£
1278 ¥³¥á¥ó¥È¤¬À°·Á¤µ¤ì¤Ê¤¤¾ì¹ç¡¢±¦Ã¼¤Î°ÌÃ֤ϼé¤é¤ì¤Ê¤¤¡£
1279
1280 .\"O If the comment begins a line (i.e., there is no program text to its
1281 .\"O left), it will be indented to the column it was found in unless the
1282 .\"O comment is within a block of code.  
1283 ¥³¥á¥ó¥È¤Ç¹Ô¤¬³«»Ï¤µ¤ì¤ë¾ì¹ç
1284 (¤Ä¤Þ¤ê¡¢¥³¥á¥ó¥È¤Îº¸Â¦¤Ë¥×¥í¥°¥é¥à¤Îʸ»úÎ󤬤ʤ¤¾ì¹ç)¡¢
1285 ¥³¥á¥ó¥È¤¬¥³¡¼¥É¤Î¥Ö¥í¥Ã¥¯Ãæ¤Ë¤Ê¤±¤ì¤Ð¡¢
1286 ¤½¤Î¥³¥á¥ó¥È¤¬¤¢¤Ã¤¿¥«¥é¥à¤Ë¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤ë¡£
1287 .\"O In that case, such a comment will be
1288 .\"O aligned with the indented code of that block (unless the comment began
1289 .\"O in the first column).  
1290 ¤³¤Î¾ì¹ç¡¢(ºÇ½é¤Î¥«¥é¥à¤«¤é¥³¥á¥ó¥È¤¬³«»Ï¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð)
1291 ¤½¤Î¥Ö¥í¥Ã¥¯¤Î¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤¿¥³¡¼¥É¤Ë¥³¥á¥ó¥È¤Îº¸Ã¼¤ò·¤¨¤ë¡£
1292 .\"O This alignment may be affected by the \`-d\'
1293 .\"O option, which specifies an amount by which such comments are moved to
1294 .\"O the \fIleft\fR, or unindented.  
1295 ·¤¨¤ë°ÌÃ֤Ϡ\`-d\' ¥ª¥×¥·¥ç¥ó¤ÇÊѹ¹²Äǽ¤Ç¡¢
1296 ²¿¥«¥é¥à\fIº¸\fR¤Ø°ÜÆ°¤¹¤ë¤«¤ò»ØÄꤹ¤ë¡£
1297 »ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤Ê¤¤¡£
1298 .\"O For example, \`-d2\' places comments
1299 .\"O two spaces to the left of code.  By default, comments are aligned with
1300 .\"O code, unless they begin in the first column, in which case they are left
1301 .\"O there by default --- to get them aligned with the code, specify \`-fc1\'.
1302 Î㤨¤Ð¡¢\`-d2\' ¤Ç¤Ï¥³¡¼¥É¤«¤éº¸¤Ø¶õÇò 2 ¸Ä¤Î°ÌÃ֤˥³¥á¥ó¥È¤òÃÖ¤¯¡£
1303 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥³¡¼¥É¤Ë¥³¥á¥ó¥È¤Îº¸Ã¼¤ò·¤¨¤ë¡£
1304 ¤¿¤À¤·¡¢¥³¥á¥ó¥È¤¬ºÇ½é¤Î¥«¥é¥à¤«¤é³«»Ï¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
1305 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤Ê¤¤¡£
1306 ºÇ½é¤Î¥«¥é¥à¤«¤é»Ï¤Þ¤ë¥³¥á¥ó¥È¤ò¥³¡¼¥É¤Ëº¸Â·¤¨¤·¤¿¤¤¾ì¹ç¤Ï¡¢
1307 \`-fc1\' ¤ò»ØÄꤹ¤ë¤³¤È¡£
1308
1309 .\"O Comments to the right of code will appear by default in column 33.
1310 .\"O This may be changed with one of three options.  \`-c\' will specify
1311 .\"O the column for comments following code, \`-cd\' specifies the
1312 .\"O column for comments following declarations, and \`-cp\' specifies
1313 .\"O the column for comments following preprocessor directives \fB#else\fR
1314 .\"O and \fB#endif\fR.
1315 ¥³¡¼¥É¤Î±¦Â¦¤Ë¤¢¤ë¥³¥á¥ó¥È¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥«¥é¥à 33 ¤Ë¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤ë¡£
1316 ¤³¤ì¤Ï¼¡¤Î 3 ¤Ä¤Î¥ª¥×¥·¥ç¥ó¤Î¤¤¤º¤ì¤«¤ÇÊѹ¹¤Ç¤­¤ë¡£
1317 \`-c\' ¤Ï¥³¡¼¥É¤Î¸å¤Î¥³¥á¥ó¥È¤Î¥«¥é¥à¤ò»ØÄꤹ¤ë¡£
1318 \`-cd\' ¤ÏÀë¸À¤Î¸å¤Î¥³¥á¥ó¥È¤Î¥«¥é¥à¤ò»ØÄꤹ¤ë¡£
1319 \`-cp\' ¤Ï¥×¥ê¥×¥í¥»¥Ã¥µ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö
1320 \fB#else\fR ¤È \fB#endif\fR ¤Î¸å¤Î¥³¥á¥ó¥È¤Î¥«¥é¥à¤ò»ØÄꤹ¤ë¡£
1321
1322 .\"O If the code to the left of the comment exceeds the beginning column,
1323 .\"O the comment column will be extended to the next tabstop column past
1324 .\"O the end of the code, or in the case of preprocessor directives, to one
1325 .\"O space past the end of the directive.  This extension lasts only for
1326 .\"O the output of that particular comment.
1327 ¥³¥á¥ó¥È¤Îº¸Â¦¤Ë¤¢¤ë¥³¡¼¥É¤¬ºÇ½é¤Î¥«¥é¥à¤«¤é³«»Ï¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
1328 ¥³¡¼¥É¤Î½ª¤ê¤Î¼¡¤Î¥¿¥Ö¥¹¥È¥Ã¥×¤Î°ÌÃÖ¤«¤é¥³¥á¥ó¥È¥«¥é¥à¤¬³«»Ï¤µ¤ì¤ë¡£
1329 ¥×¥ê¥×¥í¥»¥Ã¥µ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤¬ºÇ½é¤Î¥«¥é¥à¤«¤é³«»Ï¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
1330 ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Î½ª¤ê¤Î 1 ¥«¥é¥à¸å¤«¤é¥³¥á¥ó¥È¥«¥é¥à¤¬³«»Ï¤µ¤ì¤ë¡£
1331 ¤³¤Î³ÈÄ¥¤Ï¤³¤Î¤è¤¦¤ÊÆÃÄê¤Î¥«¥é¥à¤Î½ÐÎϤËÂФ·¤Æ¤Î¤ßŬ±þ¤µ¤ì¤ë¡£
1332
1333 .\"O The \`-cdb\' option places the comment delimiters on blank lines.
1334 .\"O Thus, a single line comment like \fB/* Loving hug */\fR can be
1335 .\"O transformed into:
1336 \`-cdb\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¥³¥á¥ó¥È¶èÀÚ¤êʸ»ú¤ò¶õ¹Ô¤ËÃÖ¤¯¡£
1337 ¤è¤Ã¤Æ \fB/* Loving hug */\fR ¤Î¤è¤¦¤Ê 1 ¹Ô¤Î¥³¥á¥ó¥È¤Ï¡¢
1338 °Ê²¼¤Î¤è¤¦¤ËÊÑ´¹¤µ¤ì¤ë¡£
1339
1340 .in +5
1341 .nf
1342 .na
1343 /*
1344    Loving hug
1345  */
1346 .in -5
1347 .ad
1348 .fi
1349
1350 .\"O Stars can be placed at the beginning of multi-line comments with the
1351 .\"O \`-sc\' option.  Thus, the single-line comment above can be
1352 .\"O transformed (with \`-cdb -sc\') into:
1353 \`-sc\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1354 Ê£¿ô¹Ô¥³¥á¥ó¥È¤Î»Ï¤á¤Ë \`*\' ¤òÃÖ¤¯¤³¤È¤¬¤Ç¤­¤ë¡£
1355 ¾åµ­¤Î 1 ¹Ô¤Î¥³¥á¥ó¥È¤Ï (\`-cdb -sc\' ¤Ë¤è¤ê) 
1356 °Ê²¼¤Î¤è¤¦¤ËÊÑ´¹¤µ¤ì¤ë¡£
1357
1358 .in +5
1359 .nf
1360 .na
1361 /*
1362  * Loving hug
1363  */
1364 .in -5
1365 .ad
1366 .fi
1367
1368 .\"O .SH "STATEMENTS"
1369 .SH ʸ
1370
1371 .\"O The \`-br\' or \`-bl\' option specifies how to format braces.
1372 \`-br\' ¤Þ¤¿¤Ï \`-bl\' ¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ö¥ì¡¼¥¹¤ò¤É¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¤«¤ò»ØÄꤹ¤ë¡£
1373
1374 .\"O The \`-br\' option formats statement braces like this:
1375 \`-br\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¥Ö¥ì¡¼¥¹¤Ï°Ê²¼¤Î¤è¤¦¤ËÀ°·Á¤µ¤ì¤ë:
1376
1377 .in +5
1378 .nf
1379 .na
1380 if (x > 0) {
1381   x--;
1382 }
1383 .in -5
1384 .ad
1385 .fi
1386
1387 .\"O The \`-bl\' option formats them like this:
1388 \`-bl\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¥Ö¥ì¡¼¥¹¤Ï°Ê²¼¤Î¤è¤¦¤ËÀ°·Á¤µ¤ì¤ë:
1389
1390 .in +5
1391 .nf
1392 .na
1393 if (x > 0)
1394   {
1395     x--;
1396   }
1397 .in -5
1398 .ad
1399 .fi
1400
1401 .\"O If you use the \`-bl\' option, you may also want to specify the
1402 .\"O \`-bli\' option.  This option specifies the number of spaces by
1403 .\"O which braces are indented.  \`-bli2\', the default, gives the
1404 .\"O result shown above.  \`-bli0\' results in the following:
1405 \`-bl\' ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¾ì¹ç¤Ë¤Ï \`-bli\' ¥ª¥×¥·¥ç¥ó¤â»È¤¦¤È¤è¤¤¡£
1406 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ö¥ì¡¼¥¹¤Î¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤Ë»È¤¦¶õÇò¤Î¿ô¤ò»ØÄꤹ¤ë¡£
1407 \`-bli2\' (¥Ç¥Õ¥©¥ë¥ÈÃÍ)¤ò»ØÄꤹ¤ë¤È¡¢Àè¤Ë¼¨¤·¤¿·ë²Ì¤È¤Ê¤ë¡£
1408 \`-bli0\' ¤ò»ØÄꤷ¤¿¾ì¹ç¤Î·ë²Ì¤Ï°Ê²¼¤Ç¤¢¤ë:
1409
1410 .in +5
1411 .nf
1412 .na
1413 if (x > 0)
1414 {
1415   x--;
1416 }
1417 .in -5
1418 .ad
1419 .fi
1420
1421 .\"O If you are using the \`-br\' option, you probably want to also use
1422 .\"O the \`-ce\' option.  This causes the \fBelse\fR in an if-then-else
1423 .\"O construct to cuddle up to the immediately preceding \`}\'.  For
1424 .\"O example, with \`-br -ce\' you get the following:
1425 \`-br\' ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¾ì¹ç¤Ë¤Ï¡¢Â¿Ê¬ \`-ce\' ¤â»È¤¤¤¿¤¯¤Ê¤ë¤À¤í¤¦¡£
1426 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï if-then-else ¹½Ê¸¤Î \fBelse\fR ¤òľÁ°¤Î \`}\' ¤ËÎÙ¤ËÃÖ¤¯¡£
1427 Î㤨¤Ð \`-br -ce\' ¤ò»ØÄꤹ¤ë¤È¡¢½ÐÎϤϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1428
1429 .in +5
1430 .nf
1431 .na
1432 if (x > 0) {
1433   x--;
1434 } else {
1435   fprintf (stderr, "...something wrong?\\n");
1436 }
1437 .in -5
1438 .ad
1439 .fi
1440
1441 .\"O With \`-br -nce\' that code would appear as
1442 Ʊ¤¸¥³¡¼¥É¤Ç \`-br -nce\' ¤ò»ØÄꤹ¤ë¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1443
1444 .in +5
1445 .nf
1446 .na
1447 if (x > 0) {
1448   x--;
1449 }
1450 else {
1451   fprintf (stderr, "...something wrong?\\n");
1452 }
1453 .in -5
1454 .ad
1455 .fi
1456
1457 .\"O This causes the \fBwhile\fR in a do-while
1458 .\"O loop to cuddle up to the immediately preceding \`}\'.  For
1459 .\"O example, with \`-cdw\' you get the following:
1460 .\"Osato:
1461 .\"Osato: this ¤¬¤É¤³¤ò»Ø¤¹¤«¤¬ÉÔÌÀ¡£
1462 .\"Osato:
1463 ¤³¤ì¤Ë¤è¤ê do-while ¥ë¡¼¥×¤Î \fBwhile\fR ¤ÏľÁ°¤Î \`}\' ¤ÈƱ¤¸¹Ô¤ËÃÖ¤«¤ì¤ë¡£
1464 Î㤨¤Ð \`-cdw\' ¤Ë¤è¤ê°Ê²¼¤Î¤è¤¦¤Ê½ÐÎϤ¬ÆÀ¤é¤ì¤ë¡£
1465
1466 .in +5
1467 .nf
1468 .na
1469 do {
1470   x--;
1471 } while (x);
1472 .in -5
1473 .ad
1474 .fi
1475
1476 .\"O With \`-ncdw\' that code would appear as
1477 Ʊ¤¸¥³¡¼¥É¤Ç \`-ncdw\' ¤ò»ØÄꤹ¤ë¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1478
1479 .in +5
1480 .nf
1481 .na
1482 do {
1483   x--;
1484 }
1485 while (x);
1486 .in -5
1487 .ad
1488 .fi
1489
1490 .\"O The \`-cli\' option specifies the number of spaces that case labels
1491 .\"O should be indented to the right of the containing \fBswitch\fR
1492 .\"O statement.
1493 \`-cli\' ¥ª¥×¥·¥ç¥ó¤Ï¡¢case ¹½Ê¸¤Î¥é¥Ù¥ë¤ò \fBswitch\fR Ê¸¤«¤é
1494 ±¦¤Ë¥¤¥ó¥Ç¥ó¥È¤¹¤ëºÝ¤Ë¶õÇò¤ò¤¤¤¯¤ÄÆþ¤ì¤ë¤«¤ò»ØÄꤹ¤ë¡£
1495
1496 .\"O The default gives code like:
1497 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï°Ê²¼¤Î¤è¤¦¤Ê¥³¡¼¥É¤¬ÆÀ¤é¤ì¤ë¡£
1498
1499 .in +5
1500 .nf
1501 .na
1502 switch (i)
1503   {
1504   case 0:
1505     break;
1506   case 1:
1507     {
1508       ++i;
1509     }
1510   default:
1511     break;
1512   }
1513 .in -5
1514 .ad
1515 .fi
1516
1517 .\"O Using the \`-cli2\' that would become:
1518 \`-cli2\' ¤ò»È¤¦¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë¡£
1519
1520 .in +5
1521 .nf
1522 .na
1523 switch (i)
1524   {
1525     case 0:
1526       break;
1527     case 1:
1528       {
1529         ++i;
1530       }
1531     default:
1532       break;
1533   }
1534 .in -5
1535 .ad
1536 .fi
1537
1538 .\"O The indentation of the braces below a case statement can be
1539 .\"O controlled with the \`-cbi\fIn\fR\' option.  For example,
1540 .\"O using \`-cli2 -cbi0\' results in:
1541 case Ê¸¤Î¸å¤Î¥Ö¥ì¡¼¥¹¤Î¥¤¥ó¥Ç¥ó¥È¤Ï¡¢
1542 \`-cbi\fIn\fR\' ¥ª¥×¥·¥ç¥ó¤ÇÀ©¸æ¤Ç¤­¤ë¡£
1543 Î㤨¤Ð \`-cli2 -cbi0\' ¤ò»È¤¦¤È¼¡¤Î¤è¤¦¤Ê·ë²Ì¤Ë¤Ê¤ë¡£
1544
1545 .in +5
1546 .nf
1547 .na
1548 switch (i)
1549   {
1550     case 0:
1551       break;
1552     case 1:
1553     {
1554       ++i;
1555     }
1556     default:
1557       break;
1558   }
1559 .in -5
1560 .ad
1561 .fi
1562
1563 .\"O If a semicolon is on the same line as a \fBfor\fR or \fBwhile\fR
1564 .\"O statement, the \`-ss\' option will cause a space to be placed before
1565 .\"O the semicolon.  This emphasizes the semicolon, making it clear that the
1566 .\"O body of the \fBfor\fR or \fBwhile\fR statement is an empty statement.
1567 .\"O \`-nss\' disables this feature.
1568 ¥»¥ß¥³¥í¥ó¤¬ \fBfor\fR ¤Þ¤¿¤Ï \fBwhile\fR Ê¸¤ÈƱ¤¸¹Ô¤Ë¤¢¤ë¾ì¹ç¤Ë
1569 \`-ss\' ¤ò»ØÄꤹ¤ë¤È¡¢¶õÇò¤¬¥»¥ß¥³¥í¥ó¤ÎÁ°¤ËÃÖ¤«¤ì¤ë¡£
1570 ¤³¤ì¤Ë¤è¤ê¥»¥ß¥³¥í¥ó¤¬¶¯Ä´¤µ¤ì¡¢
1571 \fBfor\fR ¤ä \fBwhile\fR Ê¸¤ÎËÜÂΤ¬¶õ¤Îʸ¤Ç¤¢¤ë¤³¤È¤¬¤Ï¤Ã¤­¤ê¤¹¤ë¡£
1572 \`-nss\' ¤ò»ØÄꤹ¤ë¤È¡¢¤³¤Îµ¡Ç½¤Ï̵¸ú¤Ë¤Ê¤ë¡£
1573
1574 .\"O The \`-pcs\' option causes a space to be placed between the name of
1575 .\"O the procedure being called and the \`(\' (for example, \fBputs\ ("Hi");\fR.  The \`-npcs\' option would give \fBputs("Hi");\fR).
1576 \`-pcs\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¸Æ¤Ó½Ð¤µ¤ì¤ë¼ê³¤­¤Î̾Á°¤È
1577 \`(\' ¤Î´Ö¤Ë¶õÇò¤¬ÃÖ¤«¤ì¤ë (Î㤨¤Ð¡¢\fBputs\ ("Hi");\fR ¤È¤Ê¤ë¡£
1578 ¤Þ¤¿¡¢\`-npcs\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï \fBputs("Hi");\fR) ¤È¤Ê¤ë¡£)
1579
1580
1581 .\"O If the \`-cs\' option is specified, \fBindent\fR puts a space after
1582 .\"O a cast operator.
1583 \`-cs\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1584 \fBindent\fR ¤Ï¥­¥ã¥¹¥È±é»»»Ò¤Î¸å¤Ë¶õÇò¤òÃÖ¤¯¡£
1585
1586 .\"O The \`-bs\' option ensures that there is a space between the
1587 .\"O keyword \fBsizeof\fR and its argument.  In some versions, this is
1588 .\"O known as the \`Bill_Shannon\' option.
1589 \`-bs\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1590 ¥­¡¼¥ï¡¼¥É \fBsizeof\fR ¤È¤½¤Î°ú¤­¿ô¤Î´Ö¤Ëɬ¤º¶õÇò¤¬ÃÖ¤«¤ì¤ë¡£
1591 ¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¤Ï¡¢
1592 ¤³¤Îµ¡Ç½¤Ï \`Bill_Shannon\' ¥ª¥×¥·¥ç¥ó¤È¤·¤ÆÃΤé¤ì¤Æ¤¤¤ë¡£
1593
1594 .\"O The \`-saf\' option forces a space between an \fBfor\fR
1595 .\"O and the following parenthesis.  This is the default.
1596 \`-saf\' ¥ª¥×¥·¥ç¥ó¤Ï \fBfor\fR ¤È¤½¤Î¸å¤Î³ç¸Ì¤Î´Ö¤Ë¶õÇò¤òÆþ¤ì¤ë¡£
1597 ¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
1598
1599 .\"O The \`-sai\' option forces a space between an \fBif\fR
1600 .\"O and the following parenthesis.  This is the default.
1601 \`-sai\' ¥ª¥×¥·¥ç¥ó¤Ï \fBif\fR ¤È¤½¤Î¸å¤Î³ç¸Ì¤Î´Ö¤Ë¶õÇò¤òÆþ¤ì¤ë¡£
1602 ¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
1603
1604 .\"O The \`-saw\' option forces a space between an \fBwhile\fR
1605 .\"O and the following parenthesis.  This is the default.
1606 \`-saw\' ¥ª¥×¥·¥ç¥ó¤Ï \fBwhile\fR ¤È¤½¤Î¸å¤Î³ç¸Ì¤Î´Ö¤Ë¶õÇò¤òÆþ¤ì¤ë¡£
1607 ¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
1608
1609 .\"O The \`-prs\' option causes all parentheses to be seperated with
1610 .\"O a space from the what is between them.  For example, using \`-prs\'
1611 .\"O results in code like:
1612 \`-prs\' ¥ª¥×¥·¥ç¥ó¤ÏÁ´¤Æ¤Î³ç¸Ì¤È¤½¤Î´Ö¤Ë¤¢¤ë¤â¤Î¤Î´Ö¤Ë¶õÇò¤òÃÖ¤¯¡£
1613 Î㤨¤Ð \`-prs\' ¤ò»È¤¦¤È°Ê²¼¤Î¤è¤¦¤Ê¥³¡¼¥É¤Ë¤Ê¤ë¡£
1614
1615 .in +5
1616 .nf
1617 .na
1618   while ( ( e_code - s_code ) < ( dec_ind - 1 ) )
1619     {
1620       set_buf_break ( bb_dec_ind );
1621       *e_code++ = \' \';
1622     }
1623 .in -5
1624 .ad
1625 .fi
1626
1627 .\"O .SH "DECLARATIONS"
1628 .SH Àë¸À
1629
1630 .\"O By default \fBindent\fR will line up identifiers, in the column
1631 .\"O specified by the \`-di\' option.  For example, \`-di16\' makes
1632 .\"O things look like:
1633 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢\fBindent\fR ¤Ï \`-di\' ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤¿
1634 ¥«¥é¥à¤Ç¼±Ê̻Ҥò·¤¨¤ë¡£
1635 Î㤨¤Ð¡¢\`-di16\' ¤ò»ØÄꤹ¤ë¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1636
1637 .in +5
1638 .nf
1639 .na
1640 int             foo;
1641 char           *bar;
1642 .in -5
1643 .ad
1644 .fi
1645
1646 .\"O Using a small value (such as one or two) for the \`-di\' option can
1647 .\"O be used to cause the identifiers to be placed in the first available
1648 .\"O position; for example:
1649 \`-di\' ¥ª¥×¥·¥ç¥ó¤Ë¾®¤µ¤¤ÃÍ (1 ¤ä 2 ¤Ê¤É) ¤ò»È¤¦¤È¡¢
1650 ÃÖ¤¯¤³¤È¤¬²Äǽ¤ÊºÇ½é¤Î¾ì½ê¤Ë¼±Ê̻ҤòÃÖ¤¯¤³¤È¤¬¤Ç¤­¤ë¡£
1651 Îã¤ò°Ê²¼¤Ë¼¨¤¹:
1652
1653 .in +5
1654 .nf
1655 .na
1656 int foo;
1657 char *bar;
1658 .in -5
1659 .ad
1660 .fi
1661
1662 .\"O The value given to the \`-di\' option will still affect variables
1663 .\"O which are put on separate lines from their types, for example
1664 .\"O \`-di2\' will lead to:
1665 ¤³¤Î¾ì¹ç¤Ç¤â¡¢\`-di\' ¥ª¥×¥·¥ç¥ó¤Ë»ØÄꤷ¤¿ÃͤÏ
1666 ·¿»ØÄê¤È°Û¤Ê¤ë¹Ô¤ËÃÖ¤¤¤¿ÊÑ¿ô¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤ë¡£
1667 Î㤨¤Ð¡¢\`-di2\' ¤ò»ØÄꤹ¤ë¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1668
1669 .in +5
1670 .nf
1671 .na
1672 int
1673   foo;
1674 .in -5
1675 .ad
1676 .fi
1677
1678 .\"O If the \`-bc\' option is specified, a newline is forced after each
1679 .\"O comma in a declaration.  For example,
1680 \`-bc\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢Àë¸ÀÃæ¤Î¥³¥ó¥Þ¤Î¸å¤Ë²þ¹Ô¤¬ÃÖ¤«¤ì¤ë¡£
1681 Îã¤ò°Ê²¼¤Ë¼¨¤¹:
1682
1683 .in +5
1684 .nf
1685 .na
1686 int a,
1687   b,
1688   c;
1689 .in -5
1690 .ad
1691 .fi
1692
1693 .\"O With the \`-nbc\' option this would look like
1694 Ʊ¤¸¥³¡¼¥É¤Ç \`-nbc\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1695
1696 .in +5
1697 .nf
1698 .na
1699 int a, b, c;
1700 .in -5
1701 .ad
1702 .fi
1703
1704 .\"O The \`-bfda\' option causes a newline to be forced after the comma
1705 .\"O separating the arguments of a function declaration.  The arguments will
1706 .\"O appear at one indention level deeper than the function declaration.  This 
1707 .\"O is particularly helpful for functions with long argument lists. 
1708 \`-bfda\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1709 ´Ø¿ôÀë¸À¤Î°ú¤­¿ô¤Î¥³¥ó¥Þ¤Î¸å¤Ç²þ¹Ô¤òÆþ¤ì¤ë¡£
1710 °ú¤­¿ô¤Ï´Ø¿ôÀë¸À¤è¤ê 1 ÃÊ¿¼¤¯¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤ë¡£
1711 ¤³¤ì¤Ï°ú¤­¿ô¤Î¥ê¥¹¥È¤¬Ä¹¤¤¾ì¹ç¤ËÆäËÌòΩ¤Ä¡£
1712 .\"O The option \`-bfde\' causes a newline to be forced before the closing 
1713 .\"O bracket of the function declaration. For both options the \'n\' setting is the default:
1714 .\"O -nbdfa and -nbdfe.
1715 \`-bfde\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1716 ´Ø¿ôÀë¸À¤ÎÊijç¸Ì¤ÎÁ°¤Ë²þ¹Ô¤òÆþ¤ì¤ë¡£
1717 2 ¤Ä¤Î¥ª¥×¥·¥ç¥ó¤È¤â \'n\' ¤òÀßÄꤷ¤¿ -nbdfa ¤È -nbdfe ¤¬¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤ë¡£
1718
1719 .\"O For 
1720 .\"O example,
1721 Î㤨¤Ð¡¢
1722
1723 .in +5
1724 .nf
1725 .na
1726 void foo (int arg1, char arg2, int *arg3, long arg4, char arg5);
1727 .in -5
1728 .ad
1729 .fi
1730
1731 .\"O With the \`-bfda\' option this would look like
1732 ¤Ï¡¢\`-bfda\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¡¢
1733
1734 .in +5
1735 .nf
1736 .na
1737 void foo (
1738     int arg1,
1739     char arg2,
1740     int *arg3,
1741     long arg4,
1742     char arg5);
1743 .in -5
1744 .ad
1745 .fi
1746
1747 .\"O With, in addition, the \`-bfde\' option this would look like
1748 ¹¹¤Ë \`-bfde\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¡£
1749
1750 .in +5
1751 .nf
1752 .na
1753 void foo (
1754     int arg1,
1755     char arg2,
1756     int *arg3,
1757     long arg4,
1758     char arg5
1759     );
1760 .in -5
1761 .ad
1762 .fi
1763
1764 .\"O The \`-psl\' option causes the type of a procedure being defined to
1765 .\"O be placed on the line before the name of the procedure.  This style is
1766 .\"O required for the \fBetags\fR program to work correctly, as well as some
1767 .\"O of the \fBc-mode\fR functions of Emacs.
1768 \`-psl\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
1769 ÄêµÁ¤µ¤ì¤ë¼ê³¤­¤Î·¿¤Ï¼ê³¤­¤Î̾Á°¤ÎÁ°¤Î¹Ô¤ËÃÖ¤«¤ì¤ë¡£
1770 ¤³¤Î¥¹¥¿¥¤¥ë¤Ï¡¢\fBetags\fR ¥×¥í¥°¥é¥à¤ä Emacs ¤Î \fBc-mode\fR ¤Î
1771 °ìÉô¤Îµ¡Ç½¤òÀµ¤·¤¯Æ°ºî¤µ¤»¤ë¤¿¤á¤ËɬÍפǤ¢¤ë¡£
1772
1773 .\"O You must use the \`-T\'
1774 .\"O option to tell \fBindent\fR the name of all the typenames in your
1775 .\"O program that are defined by \fBtypedef\fR.  \`-T\' can be specified
1776 .\"O more than once, and all names specified are used.  For example, if your
1777 .\"O program contains
1778 ¥×¥í¥°¥é¥àÃæ¤Ç \fBtypedef\fR ¤ÇÄêµÁ¤µ¤ì¤¿·¿¤Î̾Á°¤òÁ´¤Æ¡¢
1779 \`-T\' ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ \fBindent\fR ¤Ë¶µ¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
1780 \`-T\' ¤ÏÊ£¿ô¸Ä»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¡¢»ØÄꤵ¤ì¤¿Á´¤Æ¤Î̾Á°¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤ë¡£
1781 Î㤨¤Ð¡¢¥×¥í¥°¥é¥à¤Ë
1782
1783 .in +5
1784 .nf
1785 .na
1786 typedef unsigned long CODE_ADDR;
1787 typedef enum {red, blue, green} COLOR;
1788 .in -5
1789 .ad
1790 .fi
1791
1792 .\"O you would use the options \`-T CODE_ADDR -T COLOR\'.
1793 ¤È¤¤¤¦µ­½Ò¤¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢
1794 ¥ª¥×¥·¥ç¥ó \`-T CODE_ADDR -T COLOR\' ¤ò»È¤¦¤³¤È¤Ë¤Ê¤ë¤À¤í¤¦¡£
1795
1796 .\"O The \`-brs\' or \`-bls\' option specifies how to format braces
1797 .\"O in struct declarations.  The \`-brs\' option formats braces like
1798 .\"O this:
1799 \`-brs\' ¤ä \`-bls\' ¥ª¥×¥·¥ç¥ó¤Ï struct Àë¸À¤Î
1800 ¥Ö¥ì¡¼¥¹¤ò¤É¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¤«¤ò»ØÄꤹ¤ë¡£
1801 \`-brs\' ¥ª¥×¥·¥ç¥ó¤Ï¥Ö¥ì¡¼¥¹¤ò¼¡¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¡£
1802
1803 .in +5
1804 .nf
1805 .na
1806 struct foo {
1807   int x;
1808 };
1809 .in -5
1810 .ad
1811 .fi
1812
1813 .\"O The \`-bls\' option formats them like this:
1814 \`-bls\' ¥ª¥×¥·¥ç¥ó¤Ï¥Ö¥ì¡¼¥¹¤ò¼¡¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¡£
1815
1816 .in +5
1817 .nf
1818 .na
1819 struct foo
1820 {
1821   int x;
1822 };
1823 .in -5
1824 .ad
1825 .fi
1826
1827 .\"O .SH "INDENTATION"
1828 .SH ¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±
1829
1830 .\"O One issue in the formatting of code is how far each line should be
1831 .\"O indented from the left margin.  When the beginning of a statement such
1832 .\"O as \fBif\fR or \fBfor\fR is encountered, the indentation level is
1833 .\"O increased by the value specified by the \`-i\' option.  For example,
1834 .\"O use \`-i8\' to specify an eight character indentation for each
1835 .\"O level.  When a statement is broken across two lines, the second line is
1836 .\"O indented by a number of additional spaces specified by the \`-ci\'
1837 .\"O option.  \`-ci\' defaults to 0.  However, if the \`-lp\' option is
1838 .\"O specified, and a line has a left parenthesis which is not closed on that
1839 .\"O line, then continuation lines will be lined up to start at the character
1840 .\"O position just after the left parenthesis.  This processing also applies
1841 .\"O to \`[\' and applies to \`{\' when it occurs in initialization
1842 .\"O lists.  For example, a piece of continued code might look like this with
1843 .\"O \`-nlp -ci3\' in effect:
1844 ¥³¡¼¥É¤òÀ°·Á¤¹¤ë»þ¤ÎÌäÂê¤Î 1 ¤Ä¤Ï¡¢
1845 ³Æ¹Ô¤ò¤É¤ì¤À¤±º¸Ã¼¤«¤é¥¤¥ó¥Ç¥ó¥È¤µ¤»¤ë¤«¤Ç¤¢¤ë¡£
1846 \fBif\fR ¤ä \fBfor\fR Åù¤Îʸ¤ÎÀèƬÉôʬ¤¬¤¢¤ë¤È¡¢
1847 ¥¤¥ó¥Ç¥ó¥È¤Î¿¼¤µ¤Ï \`-i\' ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤¿ÃͤÀ¤±Áý¤¨¤ë¡£
1848 Î㤨¤Ð¡¢¥ì¥Ù¥ë¤´¤È¤Ë 8 Ê¸»úʬ¤Î¥¤¥ó¥Ç¥ó¥È¤µ¤»¤ë¤Ë¤Ï \`-i8\' ¤ò»È¤¦¡£
1849 ʸ¤¬ 2 ¹Ô¤ËÀÞ¤êÊÖ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
1850 2 ¹ÔÌܤϠ\`-ci\' ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤¿ÄɲäΥ¹¥Ú¡¼¥¹Ê¬¤À¤±¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤ë¡£
1851 \`-ci\' ¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϠ0 ¤Ç¤¢¤ë¡£
1852 ¤·¤«¤·¡¢\`-lp\' ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤ª¤ê¡¢¤«¤ÄƱ¤¸¹Ô¤ÇÊĤ¸¤é¤ì¤Æ¤¤¤Ê¤¤
1853 º¸³ç¸Ì¤¬¤¢¤ë¾ì¹ç¡¢¤½¤Î³¤­¤Î¹Ô¤¬»Ï¤Þ¤ëʸ»ú¤Ïº¸³ç¸Ì¤Îľ¸å¤Î°ÌÃ֤˷¤¨¤é¤ì¤ë¡£
1854 ¤³¤Î½èÍý¤Ï \`[\' ¤ª¤è¤Ó½é´ü²½¥ê¥¹¥È¤Ë¸½¤ï¤ì¤ë \`{\' ¤Ë¤âŬÍѤµ¤ì¤ë¡£
1855 Î㤨¤Ð¡¢\`-nlp -ci3\' ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¡¢
1856 ¹Ô¤ò¤Þ¤¿¤¬¤ë¥³¡¼¥É¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë:
1857
1858 .in +5
1859 .nf
1860 .na
1861   p1 = first_procedure (second_procedure (p2, p3),
1862      third_procedure (p4, p5));
1863 .in -5
1864 .ad
1865 .fi
1866
1867 .\"O With \`-lp\' in effect the code looks somewhat clearer:
1868 \`-lp\' ¤òÍ­¸ú¤Ë¤¹¤ë¤È¡¢¥³¡¼¥É¤Ï¤¤¤¯¤é¤«¸«¤ä¤¹¤¯¤Ê¤ë:
1869
1870 .in +5
1871 .nf
1872 .na
1873   p1 = first_procedure (second_procedure (p2, p3),
1874                         third_procedure (p4, p5));
1875 .in -5
1876 .ad
1877 .fi
1878
1879 .\"O When a statement is broken in between two or more paren pairs (...),
1880 .\"O each extra pair causes the indentation level extra indentation:
1881 .\"Osato:
1882 .\"Osato: extra ¤¬¤¦¤Þ¤¯Ìõ¤»¤Ê¤¤¡£
1883 .\"Osato:
1884 ʸ¤¬ 2 ¤Ä°Ê¾å¤Î³ç¸Ì¤ÎÁÈ (...) ¤Ë¤ï¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
1885 Äɲ䵤줿³ç¸Ì¤ÎÁȤ´¤È¤Ë 1 ÃÊ¿¼¤¯¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤ë¡£
1886
1887 .in +5
1888 .nf
1889 .na
1890 if ((((i < 2 &&
1891         k > 0) || p == 0) &&
1892     q == 1) ||
1893   n = 0)
1894 .in -5
1895 .ad
1896 .fi
1897
1898 .\"O The option \`-ip\fIN\fR\' can be used to set the extra offset per paren.
1899 .\"O For instance, \`-ip0\' would format the above as:
1900 ¥ª¥×¥·¥ç¥ó \`-ip\fIN\fR\' ¤Ï¡¢³ç¸Ì¤´¤È¤ÎÄɲ媥ե»¥Ã¥È¤òÀßÄꤹ¤ë¤Î¤Ë»È¤¦¡£
1901 Î㤨¤Ð \`-ip0\' ¤Ï¾åµ­¤Î¥³¡¼¥É¤ò¼¡¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¡£
1902
1903 .in +5
1904 .nf
1905 .na
1906 if ((((i < 2 &&
1907   k > 0) || p == 0) &&
1908   q == 1) ||
1909   n = 0)
1910 .in -5
1911 .ad
1912 .fi
1913
1914 .\"O .B indent\fR assumes that tabs are placed at regular intervals of both
1915 .\"O input and output character streams.  These intervals are by default 8
1916 .\"O columns wide, but (as of version 1.2) may be changed by the \`-ts\'
1917 .\"O option.  Tabs are treated as the equivalent number of spaces.
1918 \fBindent\fR ¤Ï¥¿¥Ö¤¬ÆþÎϤȽÐÎϤΥ¹¥È¥ê¡¼¥à¤ÎξÊý¤Ç
1919 °ìÄê¤Î´Ö³Ö¤ÇÃÖ¤«¤ì¤ë¤³¤È¤òÁÛÄꤷ¤Æ¤¤¤ë¡£
1920 ¤³¤Î´Ö³Ö¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 8 ¥«¥é¥àÉý¤Ç¤¢¤ë¤¬¡¢
1921 (¥Ð¡¼¥¸¥ç¥ó 1.2 ¤«¤é¤Ï) \`-ts\' ¥ª¥×¥·¥ç¥ó¤ÇÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1922 ¥¿¥Ö¤ÏÊ£¿ô¸Ä¤Î¶õÇò¤ÈƱ¤¸°ÕÌ£¤Ç¤¢¤ë¡£
1923
1924 .\"O The indentation of type declarations in old-style function definitions
1925 .\"O is controlled by the \`-ip\' parameter.  This is a numeric parameter
1926 .\"O specifying how many spaces to indent type declarations.  For example,
1927 .\"O the default \`-ip5\' makes definitions look like this:
1928 ¸Å¤¤·Á¼°¤Î´Ø¿ôÄêµÁ¤Ë¤ª¤±¤ë·¿Àë¸À¤Î¥¤¥ó¥Ç¥ó¥ÈÉÕ¤±¤Ï¡¢
1929 \`-ip\' ¥Ñ¥é¥á¡¼¥¿¤ÇÀ©¸æ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1930 ¤³¤ì¤Ï¡¢·¿Àë¸À¤Ç¤Ï¶õÇò²¿¸Äʬ¤Î¥¤¥ó¥Ç¥ó¥È¤ò¹Ô¤¦¤«¤ò
1931 »ØÄꤹ¤ë¿ôÃͥѥé¥á¡¼¥¿¤Ç¤¢¤ë¡£
1932 Î㤨¤Ð¥Ç¥Õ¥©¥ë¥È¤Î \`-ip5\' ¤Ç¤Ï¡¢ÄêµÁ¤Ï°Ê²¼¤Î¤è¤¦¤ËÀ°·Á¤µ¤ì¤ë:
1933
1934 .in +5
1935 .nf
1936 .na
1937 char *
1938 create_world (x, y, scale)
1939      int x;
1940      int y;
1941      float scale;
1942 {
1943   . . .
1944 }
1945 .in -5
1946 .ad
1947 .fi
1948
1949 .\"O For compatibility with other versions of indent, the option \`-nip\'
1950 .\"O is provided, which is equivalent to \`-ip0\'.
1951 ¾¤Î¥Ð¡¼¥¸¥ç¥ó¤Î indent ¤È¤Î¸ß´¹À­¤Î¤¿¤á¤Ë
1952 ¥ª¥×¥·¥ç¥ó \`-nip\' ¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¡£
1953 ¤³¤ì¤Ï \`-ip0\' ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
1954
1955 .\"O ANSI C allows white space to be placed on preprocessor command lines
1956 .\"O between the character \`#\' and the command name.  By default,
1957 .\"O .B indent\fR removes this space, but specifying the \`-lps\' option
1958 .\"O directs \fBindent\fR to leave this space unmodified. The option \`-ppi\' 
1959 .\"O overrides  \`-nlps\' and  \`-lps\'.
1960 ANSI C ¤Ç¤Ï¥×¥ê¥×¥í¥»¥Ã¥µ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Îʸ»ú \`#\' ¤È¥³¥Þ¥ó¥É̾¤Î´Ö¤Ë
1961 ¶õÇò¤òÆþ¤ì¤ë¤³¤È¤¬µö²Ä¤µ¤ì¤Æ¤¤¤ë¡£
1962 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï \fBindent\fR ¤Ï¤³¤Î¶õÇò¤òºï½ü¤¹¤ë¤¬¡¢
1963 \`-lps\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤Ç
1964 \fBindent\fR ¤Ë¤³¤Î¶õÇò¤òÊѹ¹¤·¤Ê¤¤¤è¤¦¤Ë»Ø¼¨¤Ç¤­¤ë¡£
1965 ¥ª¥×¥·¥ç¥ó \`-ppi\' ¤Ï  \`-nlps\' ¤È  \`-lps\' ¤ò¾å½ñ¤­¤¹¤ë¡£
1966
1967 .\"O This option can be used to request that preprocessor conditional statements can
1968 .\"O be indented by to given number of spaces, for example with the option \`-ppi 3\'
1969 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê¡¢
1970 ¥×¥ê¥×¥í¥»¥Ã¥µ¾ò·ïʸ¤ò»ØÄꤵ¤ì¤¿¶õÇò¿ô¤Ç¥¤¥ó¥Ç¥ó¥È¤Ç¤­¤ë¡£
1971 Î㤨¤Ð¥ª¥×¥·¥ç¥ó \`-ppi 3\' ¤Ï
1972
1973 .in +5
1974 .nf
1975 .na
1976 #if X
1977 #if Y
1978 #define Z 1
1979 #else
1980 #define Z 0
1981 #endif
1982 #endif
1983 .in -5
1984 .ad
1985 .fi
1986 .\"O becomes
1987 ¤ò¼¡¤Î¤è¤¦¤ËÀ°·Á¤¹¤ë¡£
1988 .in +5
1989 .nf
1990 .na
1991 #if X
1992 #   if Y
1993 #      define Z 1
1994 #   else
1995 #      define Z 0
1996 #   endif
1997 #endif
1998 .in -5
1999 .ad
2000 .fi
2001
2002 .\"O .SH "BREAKING LONG LINES"
2003 .SH Ä¹¤¤¹Ô¤ÎÀÞ¤êÊÖ¤·
2004
2005 .\"O With the option \`-l\fIn\fR\', or \`--line-length\fIn\fR\', it is
2006 .\"O possible to specify the maximum length of a line of C code, not including
2007 .\"O possible comments that follow it.
2008 ¥ª¥×¥·¥ç¥ó \`-l\fIn\fR\' ¤Þ¤¿¤Ï \`--line-length\fIn\fR\' ¤Ë¤è¤ê¡¢
2009 C ¸À¸ì¥³¡¼¥É¤Î¹Ô¤ÎºÇÂçŤò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2010 ¤¿¤À¤·¥³¡¼¥É¤Î¸å¤Î¥³¥á¥ó¥È¤Ï´Þ¤Þ¤Ê¤¤¡£
2011
2012 .\"O When lines become longer then the specified line length, GNU \fBindent\fR
2013 .\"O tries to break the line at a logical place.  This is new as of version 2.1
2014 .\"O however and not very intelligent or flexible yet.
2015 »ØÄꤵ¤ì¤¿¹Ô¤ÎŤµ¤è¤êŤ¤¾ì¹ç¡¢
2016 GNU \fBindent\fR ¤Ï¹Ô¤òÏÀÍýŪ¤Ê°ÌÃÖ¤ÇÀÞ¤êÊÖ¤¹¡£
2017 ¤³¤ì¤Ï¥Ð¡¼¥¸¥ç¥ó 2.1 ¤Î¿·µ¡Ç½¤Ç¤¢¤ë¤¬¡¢
2018 ¤Þ¤À¤½¤ì¤Û¤É¸­¤¯¤Ï¤Ê¤¯½ÀÆð¤Ç¤â¤Ê¤¤¡£
2019
2020 .\"O Currently there are two options that allows one to interfere with the
2021 .\"O algorithm that determines where to break a line.
2022 ¤É¤³¤Ç¹Ô¤òÀÞ¤êÊÖ¤¹¤«¤ò·èÄꤹ¤ë¥¢¥ë¥´¥ê¥º¥à¤Ë´³¾Ä¤¹¤ë¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤¬¡¢
2023 ¸½ºß¤Î¤È¤³¤í 2 ¤Ä¤¢¤ë¡£
2024
2025 .\"O The \`-bbo\' option causes GNU \fBindent\fR to prefer to break
2026 .\"O long lines before the boolean operators \fB&&\fR and \fB||\fR.  The
2027 .\"O \`-nbbo\' option causes GNU \fBindent\fR not have that
2028 .\"O preference.  For example, the default option \`-bbo\' (together
2029 .\"O with \`--line-length60\' and \`--ignore-newlines\') makes code
2030 .\"O look like this:
2031 \`-bbo\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢GNU \fBindent\fR ¤Ï
2032 Ť¤¹Ô¤ò¥Ö¡¼¥ê¥¢¥ó±é»»»Ò \fB&&\fR ¤È \fB||\fR ¤ÎÁ°¤ÇÀÞ¤êÊÖ¤¹¡£
2033 \`-nbbo\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢GNU \fBindent\fR ¤Ï
2034 Ť¤¹Ô¤ò¥Ö¡¼¥ê¥¢¥ó±é»»»Ò¤ÎÁ°¤ÇÀÞ¤êÊÖ¤µ¤Ê¤¤¡£
2035 Î㤨¤Ð¡¢(\`--line-length60\' ¤È \`--ignore-newlines\'¤È°ì½ï¤Ë)
2036 ¥Ç¥Õ¥©¥ë¥È¤Î¥ª¥×¥·¥ç¥ó \`-bbo\' ¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢
2037 ¥³¡¼¥É¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë¡£
2038
2039 .in +5
2040 .nf
2041 .na
2042   if (mask
2043       && ((mask[0] == \'\\0\')
2044           || (mask[1] == \'\\0\'
2045               && ((mask[0] == \'0\') || (mask[0] == \'*\')))))
2046 .in -5
2047 .ad
2048 .fi
2049
2050 .\"O Using the option \`-nbbo\' will make it look like this:
2051 ¥ª¥×¥·¥ç¥ó \`-nbbo\' ¤ò»È¤¦¤È¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¡£
2052
2053 .in +5
2054 .nf
2055 .na
2056   if (mask &&
2057       ((mask[0] == \'\\0\') ||
2058        (mask[1] == \'\\0\' &&
2059         ((mask[0] == \'0\') || (mask[0] == \'*\')))))
2060 .in -5
2061 .ad
2062 .fi
2063
2064 .\"O The default \`-hnl\', however, honours newlines in the input file by
2065 .\"O giving them the highest possible priority to break lines at.  For example,
2066 .\"O when the input file looks like this:
2067 ¤·¤«¤·¥Ç¥Õ¥©¥ë¥È¤Î \`-hnl\' ¤Ç¤Ï¡¢
2068 ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ë¤ª¤±¤ë²þ¹Ô¤ò½Å»ë¤·¤Æ¡¢
2069 ¤½¤³¤Ç²þ¹Ô¤¹¤ë¤è¤¦¤Ë²Äǽ¤Ê¸Â¤ê¤ÎÍ¥ÀèÅÙ¤òÍ¿¤¨¤ë¡£
2070 Î㤨¤ÐÆþÎÏ¥Õ¥¡¥¤¥ë¤¬°Ê²¼¤Î¤è¤¦¤Ê¾ì¹ç¡¢
2071
2072 .in +5
2073 .nf
2074 .na
2075   if (mask
2076       && ((mask[0] == \'\\0\')
2077       || (mask[1] == \'\\0\' && ((mask[0] == \'0\') || (mask[0] == \'*\')))))
2078 .in -5
2079 .ad
2080 .fi
2081
2082 .\"O then using the option \`-hnl\', or \`--honour-newlines\',
2083 .\"O together with the previously mentioned \`-nbbo\' and
2084 .\"O \`--line-length60\', will cause the output not to be what is given
2085 .\"O in the last example but instead will prefer to break at the positions
2086 .\"O where the code was broken in the input file:
2087 ¥ª¥×¥·¥ç¥ó \`-hnl\' ¤Þ¤¿¤Ï \`--honour-newlines\' ¤ò
2088 ¾å½Ò¤Î \`-nbbo\' ¤È \`--line-length60\' ¤È°ì½ï¤Ë»È¤¦¤È¡¢
2089 Á°¤ÎÎã¤Ç¼¨¤·¤¿¤è¤¦¤Ê½ÐÎϤǤϤʤ¯¡¢
2090 ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î¥³¡¼¥É¤Ç²þ¹Ô¤µ¤ì¤Æ¤¤¤ë°ÌÃ֤Ǥʤë¤Ù¤¯ÀÞ¤êÊÖ¤µ¤ì¤ë¡£
2091
2092 .in +5
2093 .nf
2094 .na
2095   if (mask
2096       && ((mask[0] == \'\\0\')
2097           || (mask[1] == \'\\0\' &&
2098               ((mask[0] == \'0\') || (mask[0] == \'*\')))))
2099 .in -5
2100 .ad
2101 .fi
2102
2103 .\"O The idea behind this option is that lines which are too long, but are already
2104 .\"O broken up, will not be touched by GNU \fBindent\fR.  Really messy code
2105 .\"O should be run through \fBindent\fR at least once using the
2106 .\"O \`--ignore-newlines\' option though.
2107 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÎÇطʤȤʤë¹Í¤¨Êý¤Ï¡¢
2108 ´û¤ËÀÞ¤êÊÖ¤µ¤ì¤Æ¤¤¤ëŤ¹¤®¤ë¹Ô¤Ï
2109 GNU \fBindent\fR ¤ÇÊѹ¹¤·¤Ê¤¤¤È¤¤¤¦¤â¤Î¤Ç¤¢¤ë¡£
2110 ¤·¤«¤·ËÜÅö¤Ë±ø¤¤¥³¡¼¥É¤Ï¡¢
2111 ¾¯¤Ê¤¯¤È¤â 1 ²ó¤Ï \`--ignore-newlines\' ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ
2112 \fBindent\fR ¤ËÄ̤·¤Æ¤ª¤¯¤Ù¤­¤Ç¤¢¤ë¡£
2113
2114 .\"O .SH "DISABLING FORMATTING"
2115 .SH À°·Á¤Î̵¸ú²½
2116
2117 .\"O Formatting of C code may be disabled for portions of a program by
2118 .\"O embedding special \fIcontrol comments\fR in the program.  To turn off
2119 .\"O formatting for a section of a program, place the disabling control
2120 .\"O comment \fB/* *INDENT-OFF* */\fR on a line by itself just before that
2121 .\"O section.  Program text scanned after this control comment is output
2122 .\"O precisely as input with no modifications until the corresponding
2123 .\"O enabling comment is scanned on a line by itself.  The disabling control
2124 .\"O comment is \fB/* *INDENT-ON* */\fR, and any text following the comment
2125 .\"O on the line is also output unformatted.  Formatting begins again with
2126 .\"O the input line following the enabling control comment.
2127 .\"Osato: 
2128 .\"Osato: ºÇ¸å¤«¤é 4 ¹ÔÌܤΠdisabling ¤Ï enabling ¤Î´Ö°ã¤¤¤«¡©
2129 .\"Osato: 
2130 ÆÃÊ̤Ê\fIÀ©¸æÍÑ¥³¥á¥ó¥È\fR¤ò¥×¥í¥°¥é¥à¤ËËä¤á¹þ¤à¤³¤È¤Ë¤è¤ê¡¢
2131 C ¸À¸ì¥³¡¼¥É¤òÉôʬŪ¤ËÀ°·Á¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2132 ¥×¥í¥°¥é¥à¤Î¤¢¤ë¥»¥¯¥·¥ç¥ó¤òÀ°·Á¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
2133 ̵¸ú²½À©¸æÍÑ¥³¥á¥ó¥È \fB/* *INDENT-OFF* */\fR ¤À¤±¤Î¹Ô¤ò
2134 ¥»¥¯¥·¥ç¥ó¤ÎľÁ°¤ËÃÖ¤±¤Ð¤è¤¤¡£
2135 ¤³¤ÎÀ©¸æÍÑ¥³¥á¥ó¥È¤Î¸å¤Ç¥¹¥­¥ã¥ó¤µ¤ì¤¿¥×¥í¥°¥é¥à¥Æ¥­¥¹¥È¤Ï¡¢
2136 Í­¸ú²½¥³¥á¥ó¥È¤À¤±¤Î¹Ô¤¬¥¹¥­¥ã¥ó¤µ¤ì¤ë¤Þ¤Ç¡¢
2137 ÆþÎϤÎÄ̤ê¤ËÊѹ¹¤µ¤ì¤º½ÐÎϤµ¤ì¤ë¡£
2138 Í­¸ú²½À©¸æ¥³¥á¥ó¥È¤Ï \fB/* *INDENT-ON* */\fR ¤Ç¤¢¤ê¡¢
2139 ¤³¤Î¥³¥á¥ó¥È¤ÈƱ¤¸¹Ô¤Ç¸å¤Ë³¤¯¥Æ¥­¥¹¥È¤âÀ°·Á¤µ¤ì¤º¤Ë½ÐÎϤµ¤ì¤ë¡£
2140 Í­¸ú²½À©¸æ¥³¥á¥ó¥È¤Î¸å¤Ë³¤¯¹Ô¤«¤éÀ°·Á¤¬ºÆ³«¤µ¤ì¤ë¡£
2141
2142 .\"O More precisely, \fBindent\fR does not attempt to verify the closing
2143 .\"O delimiter (\fB*/\fR) for these C comments, and any whitespace on the
2144 .\"O line is totally transparent.
2145 ¤â¤Ã¤ÈÀµ³Î¤Ë¸À¤¦¤È¡¢\fBindent\fR ¤Ï C ¸À¸ì¥³¥á¥ó¥È¤Î
2146 ½ªÎ»¶èÀÚ¤êʸ»ú (\fB*/\fR) ¤ò¸¡¾Ú¤»¤º¡¢
2147 ¤½¤Î¹Ô¤Î¶õÇò¤Ï¸ºß¤¬°Õ¼±¤µ¤ì¤Ê¤¤¡£
2148
2149 .\"O These control comments also function in their C++ formats, namely
2150 .\"O .B // *INDENT-OFF*\fR and \fB// *INDENT-ON*\fR.
2151 ¤³¤ì¤é¤ÎÀ©¸æ¥³¥á¥ó¥È¤Ï¡¢ C++ ¤Î½ñ¼°¡¢
2152 ¤Ä¤Þ¤ê \fB // *INDENT-OFF*\fR ¤È \fB// *INDENT-ON*\fR ¤Ç¤âµ¡Ç½¤¹¤ë¡£
2153
2154 .\"O It should be noted that the internal state of \fBindent\fR remains
2155 .\"O unchanged over the course of the unformatted section.  Thus, for
2156 .\"O example, turning off formatting in the middle of a function and
2157 .\"O continuing it after the end of the function may lead to bizarre
2158 .\"O results.  It is therefore wise to be somewhat modular in selecting code
2159 .\"O to be left unformatted.
2160 \fBindent\fR ¤ÎÆâÉô¾õÂÖ¤ÏÀ°·Á¤·¤Ê¤¤¥»¥¯¥·¥ç¥ó¤Ç¤âÊѹ¹¤µ¤ì¤Ê¤¤¡¢
2161 ¤È¤¤¤¦ÅÀ¤ËÃí°Õ¤¹¤Ù¤­¤Ç¤¢¤ë¡£
2162 ¤è¤Ã¤Æ¡¢Î㤨¤Ð´Ø¿ô¤ÎÅÓÃæ¤ÇÀ°·Á¤ò̵¸ú¤Ë¤·¤Æ
2163 ´Ø¿ô¤Î½ª¤ê¤Þ¤Ç̵¸ú¤Ë¤·Â³¤±¤¿¾ì¹ç¡¢ÊѤʷë²Ì¤Ë¤Ê¤ë¡£
2164 ¤·¤¿¤¬¤Ã¤Æ¡¢¥³¡¼¥É¤òÀ°·Á¤·¤Ê¤¤¤³¤È¤òÁªÂò¤¹¤ë¾ì¹ç¤Ï¡¢
2165 ¥â¥¸¥å¡¼¥ë¤Ë¤·¤Æ¤ª¤¯¤Î¤¬¤è¤¤¡£
2166
2167 .\"O As a historical note, some earlier versions of \fBindent\fR produced
2168 .\"O error messages beginning with \fB*INDENT**\fR.  These versions of
2169 .\"O .B indent\fR were written to ignore any input text lines which began
2170 .\"O with such error messages.  I have removed this incestuous feature from
2171 .\"O GNU \fBindent\fR.
2172 Îò»ËŪ¤ÊÃí°ÕÅÀ: °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î \fBindent\fR ¤Ç¤Ï
2173 \fB*INDENT**\fR ¤Ç»Ï¤Þ¤ë¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òÀ¸À®¤¹¤ë¤â¤Î¤¬¤¢¤Ã¤¿¡£
2174 ¤³¤ì¤é¤Î¥Ð¡¼¥¸¥ç¥ó¤Î \fBindent\fR ¤Ï¡¢
2175 ¤³¤Î¤è¤¦¤Ê¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Ç»Ï¤Þ¤ëÆþÎϥƥ­¥¹¥È¹Ô¤ò
2176 ̵»ë¤¹¤ë¤è¤¦¤Ë½ñ¤«¤ì¤Æ¤¤¤¿¡£
2177 »ä¤Ï¤³¤ÎÊĺ¿Åª¤Êµ¡Ç½¤ò GNU \fBindent\fR ¤«¤éºï½ü¤·¤¿¡£
2178
2179 .\"O .SH "MISCELLANEOUS OPTIONS"
2180 .SH ¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó
2181
2182 .\"O To find out what version of \fBindent\fR you have, use the command
2183 .\"O .B indent -version\fR.  This will report the version number of
2184 .\"O .B indent\fR, without doing any of the normal processing.
2185 »È¤Ã¤Æ¤¤¤ë \fBindent\fR ¤Î¥Ð¡¼¥¸¥ç¥ó¤òÃΤë¤Ë¤Ï¡¢
2186 ¥³¥Þ¥ó¥É \fBindent -version\fR ¤òÍѤ¤¤ë¤³¤È¡£
2187 ¤³¤ì¤òÍѤ¤¤ë¤È¡¢Ä̾ï¤Î½èÍý¤ÏÁ´¤¯¹Ô¤ï¤ì¤º¡¢
2188 \fBindent\fR ¤Î¥Ð¡¼¥¸¥ç¥óÈֹ椬ɽ¼¨¤µ¤ì¤ë¡£
2189
2190 .\"O The \`-v\' option can be used to turn on verbose mode.  When in
2191 .\"O verbose mode, \fBindent\fR reports when it splits one line of input
2192 .\"O into two more more lines of output, and gives some size statistics at
2193 .\"O completion. 
2194 \`-v\' ¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤ë¤È¡¢¾ÜºÙɽ¼¨¥â¡¼¥É¤òÍ­¸ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2195 ¾ÜºÙɽ¼¨¥â¡¼¥É¤Ç¤Ï¡¢\fBindent\fR ¤Ï 1 ¤Ä¤Î¹Ô¤ò½ÐÎϤÇÊ£¿ô¹Ô¤Ë¤¹¤ë»þ¤Ë¤ÏÊó¹ð¤ò
2196 ¹Ô¤¤¡¢¼Â¹Ô½ªÎ»»þ¤Ë¥µ¥¤¥º¤Ë´Ø¤¹¤ë¾ðÊó¤ò½ÐÎϤ¹¤ë¡£
2197
2198 .\"O The \`-pmt\' option causes \fBindent\fR to preserve the access
2199 .\"O and modification times on the output files.  Using this option
2200 .\"O has the advantage that running indent on all source and header
2201 .\"O files in a project won\'t cause \fBmake\fR to rebuild all targets.
2202 \`-pmt\' ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢\fBindent\fR ¤Ï
2203 ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹»þ¹ï¤È½¤Àµ»þ¹ï¤òÊݸ¤¹¤ë¡£
2204 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢Á´¤Æ¤Î¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤È¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤Ë
2205 \fBindent\fR ¤ò¼Â¹Ô¤·¤Æ¤â¡¢\fBmake\fR ¤Ï¥¿¡¼¥²¥Ã¥È¤òºÆ¹½ÃÛ¤·¤Ê¤¤¡£
2206 .\"O This option is only available on Operating Systems that have the
2207 .\"O POSIX \fButime(2)\fR function.
2208 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï POSIX \fButime(2)\fR ´Ø¿ô¤¬¤¢¤ë
2209 ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¢¤ë¡£
2210
2211 .\"O .SH "BUGS"
2212 .SH ¥Ð¥°
2213
2214 .\"O Please report any bugs to bug-indent@gnu.org.
2215 ¥Ð¥°¤Ï bug-indent@gnu.org ¤ËÊó¹ð¤·¤Æ¤Û¤·¤¤¡£
2216
2217 .\"O When \fBindent\fR is run twice on a file, with the same profile,
2218 .\"O it should \fInever\fR change that file the second time.  With the
2219 .\"O current design of \fBindent\fR, this can not be guaranteed,
2220 .\"O and it has not been extensively tested.
2221 Ʊ¤¸¥×¥í¥Õ¥¡¥¤¥ë¤Ç 1 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë \fBindent\fR ¤ò 2 ²ó¼Â¹Ô¤·¤¿¾ì¹ç¡¢
2222 2 ²óÌܤϥե¡¥¤¥ë¤ò\fIÁ´¤¯\fRÊѹ¹¤·¤Ê¤¤¤Ù¤­¤Ç¤¢¤ë¡£
2223 \fBindent\fR ¤Î¸½ºß¤ÎÀ߷פǤϡ¢¤½¤ì¤ÏÊݾڤǤ­¤º¡¢
2224 ¾ÜºÙ¤Ë¤Ï¥Æ¥¹¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
2225
2226 .\"O .B indent\fR does not understand C.  In some cases this leads to
2227 .\"O the inability to join lines.  The result is that running a file
2228 .\"O through \fBindent\fR is \fIirreversible\fR, even if the used input
2229 .\"O file was the result of running \fBindent\fR with a given profile
2230 .\"O (\`.indent.pro\').
2231 \fBindent\fR ¤¬ C ¤òÍý²ò¤·¤Ê¤¤¡£
2232 ¤³¤Î¤¿¤á¡¢¹Ô¤ò·ë¹ç¤Ç¤­¤Ê¤¤¾ì¹ç¤â¤¢¤ë¡£
2233 »ØÄꤵ¤ì¤¿¥×¥í¥Õ¥¡¥¤¥ë (\`.indent.pro\') ¤Ç
2234 \fBindent\fR ¤ò¼Â¹Ô¤·¤¿·ë²Ì¤Î¥Õ¥¡¥¤¥ë¤òÆþÎϤȤ·¤Æ»È¤Ã¤¿¾ì¹ç¤Ç¤â¡¢
2235 \fBindent\fR ¤òÄ̤·¤¿¥Õ¥¡¥¤¥ë¤¬\fIÈó²ÄµÕ\fR¤Ë¤Ê¤ë¡£
2236
2237 .\"O While an attempt was made to get \fBindent\fR working for C++, it
2238 .\"O will not do a good job on any C++ source except the very simplest.
2239 C++ ¤ËÂФ·¤Æ \fBindent\fR ¤òÆ°ºî¤µ¤»¤ë¤³¤È¤ò»î¤ß¤¿¤¬¡¢
2240 ¤È¤Æ¤â´Êñ¤Ê¤â¤Î¤Ç¤Ê¤¤¸Â¤ê¡¢
2241 C++ ¤Î¥½¡¼¥¹¤ËÂФ·¤Æ¤ÏÎɤ¤·ë²Ì¤¬ÆÀ¤é¤ì¤Ê¤¤¡£
2242
2243 .\"O .B indent\fR does not look at the given \`--line-length\' option
2244 .\"O when writing comments to the output file.  This results often in comments
2245 .\"O being put far to the right.  In order to prohibit \fBindent\fR from
2246 .\"O joining a broken line that has a comment at the end, make sure that the
2247 .\"O comments start on the first line of the break.
2248 ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë¥³¥á¥ó¥È¤ò½ñ¤­½Ð¤·¤Æ¤¤¤ë¾ì¹ç¡¢
2249 \fBindent\fR ¤Ï»ØÄꤵ¤ì¤¿ \`--line-length\' ¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Ê¤¤¡£
2250 ¤½¤Î¤¿¤á¡¢¤¿¤Ó¤¿¤Ó¥³¥á¥ó¥È¤¬¤«¤Ê¤ê±¦¤ËÃÖ¤«¤ì¤ë¡£
2251 ¥³¥á¥ó¥È¤¬ËöÈø¤Ë¤¢¤ëÀÞ¤êÊÖ¤µ¤ì¤¿¹Ô¤ò
2252 \fBindent\fR ¤¬·ë¹ç¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¡¢
2253 ¥³¥á¥ó¥È¤¬ÀÞ¤êÊÖ¤·¤ÎºÇ½é¤Î¹Ô¤«¤é»Ï¤Þ¤Ã¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤¹¤ë¤³¤È¡£
2254
2255 .\"O .B indent\fR does not count lines and comments (see the \`-v\'
2256 .\"O option) when \fBindent\fR is turned off with 
2257 .\"O .B /* *INDENT-OFF* */\fR.
2258 \fB/* *INDENT-OFF* */\fR ¤Ë¤è¤Ã¤Æ
2259 \fBindent\fR ¤¬Ìµ¸ú¤Ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
2260 \fBindent\fR ¤Ï¹Ô¿ô¤ä¥³¥á¥ó¥È¿ô¤ò¿ô¤¨¤Ê¤¤
2261 (\`-v\' ¥ª¥×¥·¥ç¥ó¤ò»²¾È)¡£
2262
2263 .\"O Comments of the form \fB/*UPPERCASE*/\fR are not treated as comment but as an
2264 .\"O identifier, causing them to be joined with the next line. This renders
2265 .\"O comments of this type useless, unless they are embedded in the code to
2266 .\"O begin with.
2267 \fB/*UPPERCASE*/\fR ¤È¤¤¤¦·Á¼°¤Î¥³¥á¥ó¥È¤Ï¡¢
2268 ¥³¥á¥ó¥È¤È¤·¤Æ°·¤ï¤ì¤Ê¤¤¤¬¡¢¼¡¤Î¹Ô¤È·ë¹ç¤¹¤ë¼±Ê̻ҤȤ·¤Æ°·¤ï¤ì¤ë¡£
2269 ¤³¤ÎÆ°ºî¤Ë¤è¤Ã¤Æ¡¢¥³¡¼¥É¤ÎºÇ½é¤ËËä¤á¹þ¤Þ¤ì¤Ê¤¤¸Â¤ê¡¢
2270 ¤³¤Î¥¿¥¤¥×¤Î¥³¥á¥ó¥È¤ò̵ÍѤʤâ¤Î¤Ë¤·¤Æ¤·¤Þ¤¦¡£
2271
2272 .\"O .SH "COPYRIGHT"
2273 .SH Ãøºî¸¢É½¼¨
2274
2275 .\"O The following copyright notice applies to the \fBindent\fR program.
2276 .\"O The copyright and copying permissions for this manual appear near the
2277 .\"O beginning of \`indent.texinfo\' and \`indent.info\', and near the
2278 .\"O end of \`indent.1\'.
2279 °Ê²¼¤ÎÃøºî¸¢É½¼¨¤Ï \fBindent\fR ¥×¥í¥°¥é¥à¤ËŬÍѤµ¤ì¤ë¡£
2280 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë´Ø¤¹¤ëÃøºî¸¢¤ÈÊ£À½µö²Ä¤Ë¤Ä¤¤¤Æ¤Ï¡¢
2281 \`indent.texinfo\' ¤È \`indent.info\' ¤ÎÀèƬ¶á¤¯¤È
2282 \`indent.1\' ¤ÎËöÈø¶á¤¯¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¡£
2283
2284 .nf
2285 .na
2286 Copyright (c) 2001 David Ingamells.
2287 Copyright (c) 1999 Carlo Wood.
2288 Copyright (c) 1995, 1996 Joseph Arceneaux.
2289 Copyright (c) 1989, 1992, 1993, 1994, 1995, 1996 Free Software Foundation
2290 Copyright (c) 1985 Sun Microsystems, Inc.
2291 Copyright (c) 1980 The Regents of the University of California.
2292 Copyright (c) 1976 Board of Trustees of the University of Illinois.
2293 All rights reserved.
2294
2295 Redistribution and use in source and binary forms are permitted
2296 provided that the above copyright notice and this paragraph are
2297 duplicated in all such forms and that any documentation,
2298 advertising materials, and other materials related to such
2299 distribution and use acknowledge that the software was developed
2300 by the University of California, Berkeley, the University of Illinois,
2301 Urbana, and Sun Microsystems, Inc.  The name of either University
2302 or Sun Microsystems may not be used to endorse or promote products
2303 derived from this software without specific prior written permission.
2304 THIS SOFTWARE IS PROVIDED \`\`AS IS\'\' AND WITHOUT ANY EXPRESS OR
2305 IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
2306 WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
2307 PURPOSE.
2308 .ad
2309 .fi
2310
2311 .\"O .SH "Options\' Cross Key"
2312 .SH ¥ª¥×¥·¥ç¥ó¤ÎÁê¸ß»²¾È¥­¡¼
2313
2314 .\"O Here is a list of options alphabetized by long option, to help you find
2315 .\"O the corresponding short option.
2316 Ť¤Ì¾Á°¤Ë¤Ä¤¤¤Æ¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤Ëʤ٤¿¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤ò¼¨¤¹¡£
2317 ¤³¤ì¤ò»È¤¨¤ÐÂбþ¤¹¤ëû¤¤¥ª¥×¥·¥ç¥ó̾¤¬´Êñ¤Ëʬ¤«¤ë¡£
2318
2319 .in +5
2320 .nf
2321 .na
2322 --blank-lines-after-commas                      -bc             
2323 --blank-lines-after-declarations                -bad            
2324 --blank-lines-after-procedures                  -bap            
2325 --blank-lines-before-block-comments             -bbb            
2326 --braces-after-if-line                          -bl             
2327 --brace-indent                                  -bli
2328 --braces-after-struct-decl-line                 -bls
2329 --braces-on-if-line                             -br             
2330 --braces-on-struct-decl-line                    -brs
2331 --break-after-boolean-operator                  -nbbo
2332 --break-before-boolean-operator                 -bbo
2333 --break-function-decl-args                      -bfda
2334 --break-function-decl-args-end                  -bfde
2335 --case-indentation                              -cli\fIn\fR     
2336 --case-brace-indentation                        -cbi\fIn\fR
2337 --comment-delimiters-on-blank-lines             -cdb            
2338 --comment-indentation                           -c\fIn\fR       
2339 --continuation-indentation                      -ci\fIn\fR      
2340 --continue-at-parentheses                       -lp             
2341 --cuddle-do-while                               -cdw
2342 --cuddle-else                                   -ce             
2343 --declaration-comment-column                    -cd\fIn\fR      
2344 --declaration-indentation                       -di\fIn\fR      
2345 --dont-break-function-decl-args                 -nbfda
2346 --dont-break-function-decl-args-end             -nbfde
2347 --dont-break-procedure-type                     -npsl           
2348 --dont-cuddle-do-while                          -ncdw
2349 --dont-cuddle-else                              -nce            
2350 --dont-format-comments                          -nfca           
2351 --dont-format-first-column-comments             -nfc1           
2352 --dont-line-up-parentheses                      -nlp            
2353 --dont-space-special-semicolon                  -nss
2354 --dont-star-comments                            -nsc            
2355 --else-endif-column                             -cp\fIn\fR
2356 --format-all-comments                           -fca            
2357 --format-first-column-comments                  -fc1            
2358 --gnu-style                                     -gnu            
2359 --honour-newlines                               -hnl
2360 --ignore-newlines                               -nhnl
2361 --ignore-profile                                -npro           
2362 --indent-level                                  -i\fIn\fR       
2363 --k-and-r-style                                 -kr             
2364 --leave-optional-blank-lines                    -nsob           
2365 --leave-preprocessor-space                      -lps
2366 --line-comments-indentation                     -d\fIn\fR       
2367 --line-length                                   -l\fIn\fR       
2368 --no-blank-lines-after-commas                   -nbc            
2369 --no-blank-lines-after-declarations             -nbad           
2370 --no-blank-lines-after-procedures               -nbap           
2371 --no-blank-lines-before-block-comments          -nbbb           
2372 --no-comment-delimiters-on-blank-lines          -ncdb           
2373 --no-space-after-casts                          -ncs            
2374 --no-parameter-indentation                      -nip            
2375 .\"O --no-space-after-for                               -nsaf
2376 --no-space-after-for                            -nsaf
2377 --no-space-after-function-call-names            -npcs           
2378 .\"O --no-space-after-if                                -nsai
2379 --no-space-after-if                             -nsai
2380 --no-space-after-parentheses                    -nprs
2381 .\"O --no-space-after-while                             -nsaw
2382 --no-space-after-while                          -nsaw
2383 --no-tabs                                       -nut
2384 --no-verbosity                                  -nv             
2385 --original                                      -orig
2386 --parameter-indentation                         -ip\fIn\fR      
2387 --paren-indentation                             -pi\fIn\fR
2388 .\"O --preserve-mtime                           -pmt
2389 --preserve-mtime                                -pmt
2390 --procnames-start-lines                         -psl            
2391 --space-after-cast                              -cs             
2392 .\"O --space-after-for                          -saf
2393 --space-after-for                               -saf
2394 .\"O --space-after-if                           -sai
2395 --space-after-if                                -sai
2396 --space-after-parentheses                       -prs
2397 --space-after-procedure-calls                   -pcs            
2398 .\"O --space-after-while                                -saw
2399 --space-after-while                             -saw
2400 --space-special-semicolon                       -ss             
2401 --standard-output                               -st             
2402 --start-left-side-of-comments                   -sc             
2403 --struct-brace-indentation                      -sbi\fIn\fR
2404 --swallow-optional-blank-lines                  -sob            
2405 --tab-size                                      -ts\fIn\fR      
2406 --use-tabs                                      -ut
2407 --verbose                                       -v              
2408 .in -5
2409 .ad
2410 .fi
2411
2412 .\"O .SH "RETURN VALUE"
2413 .SH ÊÖ¤êÃÍ
2414 .\"O Unknown
2415 ÉÔÌÀ¡£
2416 .\"O .SH FILES
2417 .SH ¥Õ¥¡¥¤¥ë
2418 .br
2419 .nf
2420 .\" set tabstop to longest possible filename, plus a wee bit
2421 .ta \w'$HOME/.indent.pro   'u
2422 .\"O \fI$HOME/.indent.pro\fR    holds default options for indent.
2423 \fI$HOME/.indent.pro\fR indent ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥ª¥×¥·¥ç¥ó¤òÀßÄꤹ¤ë
2424 .\"O .SH "AUTHORS"
2425 .SH Ãø¼Ô
2426 .br
2427 Carlo Wood
2428 .br
2429 Joseph Arceneaux
2430 .br
2431 Jim Kingdon
2432 .br
2433 David Ingamells
2434 .\"O .SH "HISTORY"
2435 .SH ÍúÎò
2436 .\"O Derived from the UCB program "indent".
2437 UCB ¤Î "indent" ¥×¥í¥°¥é¥à¤¬µ¯¸»¤Ç¤¢¤ë¡£
2438 .\"O .SH "COPYING"
2439 .SH Ãøºî¸¢
2440 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
2441 Copyright (C) 1995, 1996 Joseph Arceneaux.
2442 Copyright (C) 1999 Carlo Wood.
2443 Copyright (C) 2001 David Ingamells.
2444
2445 Permission is granted to make and distribute verbatim copies of
2446 this manual provided the copyright notice and this permission notice
2447 are preserved on all copies.