File: xargs.1

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (152 lines) | stat: -rw-r--r-- 5,680 bytes parent folder | download | duplicates (5)
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
.\"    This file documents the GNU utilities for finding files that match
.\" certain criteria and performing various operations on them.
.\"
.\"    Copyright (C) 1994 Free Software Foundation, Inc.
.\"
.\"    Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\"    Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\"    Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for modified
.\" versions, except that this permission notice may be stated in a
.\" translation approved by the Foundation.
.\"
.\" Japanese Version Copyright (c) 1997 NAKANO Takeo all rights reserved.
.\" Translated Thu May 11 1997 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Modified Fri 14 Aug 1998 by NAKANO Takeo -- bug fixes.
.\"
.\"WORD		end of file string	ե뽪λʸ
.\"
.TH XARGS 1L \" -*- nroff -*-
.SH ̾
xargs \- ɸϤ饳ޥɥ饤¹Ԥ
.SH 
.B xargs
[\-0prtx] [\-e[eof-str]] [\-i[replace-str]] [\-l[max-lines]]
[\-n max-args] [\-s max-chars] [\-P max-procs] [\-\-null] [\-\-eof[=eof-str]]
[\-\-replace[=replace-str]] [\-\-max-lines[=max-lines]] [\-\-interactive]
[\-\-max-chars=max-chars] [\-\-verbose] [\-\-exit] [\-\-max-procs=max-procs]
[\-\-max-args=max-args] [\-\-no-run-if-empty] [\-\-version] [\-\-help]
[command [initial-arguments]]
.SH 
Υޥ˥奢ڡ GNU 
.BR xargs
˴ؤƵҤΤǤ롣
.B xargs
ϤޤɸϤޤϲԤǶڤ줿ʸ󷲤ɤ߹
(ϥ֥륯ơ󡦥󥰥륯ơ
ХååˤäƥץƥȤǤ)
.I command
(ǥեȤ /bin/echo) ʸ󷲤³ޥɥ饤¹Ԥ롣
.I initial-arguments
ꤵƤС
\fIcommand\fR ɸϤϤ줿ʸδ֤ˡ
\fIcommand\fR ؤΰȤϤ롣
ɸϤζԤ̵뤵롣
.PP
.B xargs
λȤͤϰʲ̤ꡣ
.sp
.nf
0 
123 command ¹ԤΤ줫ˤơ 1-125 ֤ͤä
124 command  255 ͤȤ֤
125 command ʥˤä kill 줿
126 command ¹ԤǤʤ
127 command Ĥʤ
1 ¾Υ顼ä
.fi
.SS ץ
.TP
.I "\-\-null, \-0"
ɸϤʸζڤˡǤϤʤ̥ʸȤƤȤߤʤ
ޤХåå̤ΰ̣
٤Ƥʸ򤽤ΤޤѤ롣
ե뽪λʸ̵Ȥʤꡢ¾ʸƱ褦˰롣
Ϥʸ
򡦰䡦Хåå
ޤޤƤͭѤǤ
GNU find  \-print0 ץνϤ
Υץꤷ \fIxargs\fR ϤȤɤ
.TP
.I "\-\-eof[=eof-str], \-e[eof-str]"
ե뽪λʸ \fIeof-str\fR ꤹ롣
ϤˤΥե뽪λʸ󤬸ȻĤϤ̵뤵롣
\fIeof-str\fR ά줿硢ե뽪λʸꤵʤ
ΥץͿʤäϡ
ǥեȤΥե뽪λʸ "_" Ȥʤ롣
.TP
.I "\-\-help"
.B xargs
ˡ˴ؤޤȤɽƽλ롣
.TP
.I "\-\-replace[=replace-str], \-i[replace-str]"
\fIinitial arguments\fR  \fIreplace-str\fR 
ɸϤɤ֤̾롣
ȤƤʤʸʸζڤȤߤʤʤ
\fIreplace-str\fR ά줿ϡ "{}" ǥեȤִʸȤʤ
(`find \-exec' Ʊ)
ưŪ \fI\-x\fP  \fI\-l 1\fP Ʊ˻ꤵ줿Ȥˤʤ롣
.TP
.I "\-\-max-lines[=max-lines], -l[max-lines]"
ޥɥ饤󤢤 \fImax-lines\fR Ϲ (԰ʳ) Ѥ롣
ά줿ΥǥեȤ 1
ϹԤʸǽäƤˤϡιԤ˷³ƤȤߤʤ롣
ưŪ \fI\-x\fP Ʊ˻ꤵ줿Ȥˤʤ롣
.TP
.I "\-\-max-args=max-args, \-n max-args"
ޥɥ饤󤢤 \fImax-args\fR ĤʸѤ롣
⤷Ķᤷˤ (\-s ץι򸫤)
\fImax-args\fR ʲʸѤ뤳Ȥˤʤ롣
 \-x ץ󤬻ꤵƤʤǡ
ꤵƤˤ \fBxargs\fR Ȥ¹Ԥλ롣
.TP
.I "\-\-interactive, \-p"
ޥɥ饤ˡ¹Ԥ뤫ɤ桼ˤͤץץȤФ
üɤ߹ࡣ `y' ޤ `Y' ǻϤޤäƤΤߡ
Υޥɥ饤¹Ԥ롣
ưŪ \fI\-t\fR Ʊ˻ꤵ줿Ȥˤʤ롣
.TP
.I "\-\-no-run-if-empty, \-r"
ɸϤ˶ԤޤޤƤʤ硢ޥɤ¹Ԥʤ
̾ϤʤǤ⥳ޥɤϰ¹Ԥ롣
.TP
.I "\-\-max-chars=max-chars, \-s max-chars"
ޥɥ饤˻Ǥʸ
\fImax-chars\fR ꤹ롣
ʸˤϥޥɤ \fIinitial arguments\fR
ޥɥ饤ʸκǸ򼨤̥ʸޤޤ롣
ǥեȤ 20 x 1024 ʸ⤷ϥƥDzǽʺ͡
.TP
.I "\-\-verbose, \-t"
¹Ԥˡޥɥ饤ɸ२顼Ϥɽ롣
.TP
.I "\-\-version"
.B xargs
ΥСɽƽλ롣
.TP
.I "\-\-exit, \-x"
Ķᤷ (\fI\-s\fR ץι򸫤) λ롣
.TP
.I "\-\-max-procs=max-procs, \-P max-procs"
˼¹Ԥץκ \fImax-procs\fR ꤹ롣
ǥեȤ 1
⤷ \fImax-procs\fR  0 ξϡ
\fBxargs\fR ϲǽʸ¤¿Υץ¹Ԥ褦Ȥ롣
\fI\-n\fR ץ \fI\-P\fR ȤäѤ褦ˤ뤳ȡ
ʤȰμ¹ԤԤʤ礬롣
.SH Ϣ
.BR find (1L),
.BR locate (1L),
.BR locatedb (5L),
.BR updatedb (1L)
.br
.B Finding Files
(on-line in Info, or printed)