File: test.1

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (189 lines) | stat: -rw-r--r-- 4,520 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
.\" You may copy, distribute and modify under the terms of the LDP General
.\" Public License as specified in the LICENSE file that comes with the
.\" gnumaniak distribution
.\"
.\" The author kindly requests that no comments regarding the "better"
.\" suitability or up-to-date notices of any info documentation alternative
.\" is added without contacting him first.
.\"
.\" (C) 1999-2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
.\"
.\"     GNU test man page
.\"     man pages are NOT obsolete!
.\"     <ragnar@ragnar-hojland.com>
.\"
.\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
.\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" 
.TH test 1 "18 June 2002" "GNU Shell Utilities 2.1"
.SH ̾
test \- եΥåͤӤԤ
.SH 
.BI "test [" expr ]
.sp
.B test [\-\-help] [\-\-version]
.SH 
.B test
ϾP
.IR expr
ɾ̤ˤäơ 0 () ޤ 1 ()
λơȤ֤
.PP
γʬϤ줾ʬΥ줿ǤʤФʤʤ
ñ༰뤤༰Ǥ롣
.B test
ϥեΥơĴʸͤӱ黻ԤȤǤ롣
.PP
ۤȤɤΥˤƱ̾Ȥ߹ߥޥɤΤǡ
ñ `test' ȤƼ¹Ԥȡ
ǵҤ줿ΤȤϰۤʤäǽΤΤ¹Ԥ
.SS եΥƥ
.PD 0
.TP
.B \-b \fIfile\fP
\fIfile\fP ¸ߤ֥åڥեǤп
.TP
.B \-c \fIfile\fP
\fIfile\fP ¸ߤ饯ڥեǤп
.TP
.B \-d \fIfile\fP
\fIfile\fP ¸ߤǥ쥯ȥǤп
.TP
.B \-f \fIfile\fP
\fIfile\fP ¸ߤ̾ե (regular file) Ǥп
.TP
.B \-h \fIfile\fP
.TP
.B \-L \fIfile\fP
\fIfile\fP ¸ߤܥå󥯤Ǥп
.TP
.B \-p \fIfile\fP
\fIfile\fP ¸ߤ̾դѥ (named pipe) Ǥп
.TP
.B \-S \fIfile\fP
\fIfile\fP ¸ߤåȤǤп
.TP
.B \-t [\fIfd\fP]
.I fd
üǥץ󤵤Ƥп
.I fd
ά줿Υǥեͤ 1 (ɸ)

.SS եΥѡߥåΥƥ
.TP
.B \-g \fIfile\fP
\fIfile\fP ¸ߤset GID Ƥп
.TP
.B \-k \fIfile\fP
\fIfile\fP ¸ߤ sticky ӥåȤΩäƤп
.TP
.B \-r \fIfile\fP
\fIfile\fP ¸ߤɤ߼ǽǤп
.TP
.B \-u \fIfile\fP
\fIfile\fP ¸ߤ set SUID Ƥп
.TP
.B \-w \fIfile\fP
\fIfile\fP ¸ߤ񤭹߲ǽǤп
.TP
.B \-x \fIfile\fP
\fIfile\fP ¸ߤ¹ԲǽǤп
.TP
.B \-O \fIfile\fP
\fIfile\fP ¸ߤߤμ¸桼 id ˤͭǤп
.TP
.B \-G \fIfile\fP
\fIfile\fP ¸ߤߤμ¸롼 id ˤͭǤп

.SS եΥƥ
.TP
.B \-e \fIfile\fP
\fIfile\fP ¸ߤп
.TP
.B \-s \fIfile\fP
\fIfile\fP ¸ߤ 0 礭п
.TP
\fIfile1\fP \-\fBnt\fP \fIfile2\fP
\fIfile1\fP  \fIfile2\fP  (Ӥ) п
.TP
\fIfile1\fP \-\fBot\fP \fIfile2\fP
\fIfile1\fP  \fIfile2\fP Ťп
.TP
\fIfile1\fP \fB\-ef\fP \fIfile2\fP
\fIfile1\fP  \fIfile2\fP ΥǥХֹ
i-Ρֹ椬п

.SS ʸΥƥ
.TP
.B \fIstring\fP
.TP
.B \-n \fIstring\fP
.I string
Ĺ 0 礭п
.TP
.B \-z \fIstring\fP
\fIstring\fP Ĺ 0 Ǥп
.TP
\fIstring1\fP \fB=\fP \fIstring2\fP
Ĥʸп
.TP
\fIstring1\fP \fB!=\fP \fIstring2\fP
Ĥʸʤп

.SS ͤΥƥ
.TP
.I arg1 \fBOP\fP arg2
.SM
.B OP

.BR \-eq ,
.BR \-ne ,
.BR \-lt ,
.BR \-le ,
.BR \-gt ,
.BR \-ge
Τ줫
黻Ҥϡ
줾 \fIarg1\fP  \fIarg2\fP (ʤ꾮
꾮礭礭) п
.I arg1

.I arg2
Ȥ뤳ȤǤ롣
ޤ \fB\-l\fP \fIstring\fP Ȥüʼꤹ뤳ȤǤ
ξ
.I string
ĹȤʤ롣

.SS ƥȤ
.TP
.B ! \fIexpr\fP
.I expr
Ǥп
.TP
\fIexpr1\fP \-\fBa\fP \fIexpr2\fP
.I expr1

.I expr2
ξǤп
.TP
\fIexpr1\fP \-\fBo\fP \fIexpr2\fP
.I expr1

.I expr2
Τɤ餫Ǥп
.PD 1
.SH ץ
GNU
.B test
Ĥǵư줿ˤϡ
ʲΥץǧ:
.TP
.B "\-\-help"
ɸϤ˻ˡΥåϤェλ롣
.TP
.B "\-\-version"
ɸϤ˥СϤェλ롣
.SH 
ץΥХˤĤƤ bug-sh-utils@gnu.org 𤷤Ƥ
ڡι Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> ԤäƤޤ