File: shar.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 (311 lines) | stat: -rw-r--r-- 12,197 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
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
.\"   Copyright (C) 1994-1999 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) 2000 Yuichi SATO
.\"         all rights reserved.   
.\" Translated Wed Jun 21 02:18:21 JST 2000
.\"         by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\"
.\"WORD:	archive		
.\"WORD:	vanilla		ʷ
.\"WORD:	mandatory	ɬܤ
.\"WORD:	verbose		ܺ٤
.\"WORD:	submitter	
.\"WORD:	switch		ץ
.\"WORD:	pack		ѥå
.\"WORD:	unpack		եФ
.\"WORD:	header		إå
.\"WORD:	stock		Ǽ
.\"WORD:	protection	
.\"WORD:	feature		ǽ
.\"
.TH SHAR 1 "September 10, 1995"
.SH ̾
shar \- 륢֤
.SH 
.nf
shar [ options ] file ...
shar \-S [ options ]
.fi
.SH 
shar ϡ֥륢 (shar ե)פ롣
ϥƥȷʤΤǡ᡼뤳ȤǤ롣
Υեۤɤˤϡ /bin/sh ȤäƼ¹ԤФ褤
줿֤ϡ\f2\-o\f1 ץǻؼʤ¤ꡢ
ɸϤ롣
shar ˤ͡ʵǽΤǡ shar եκ
shar Ρָ (smartness)פλϡ˽˹ԤȤǤ롣
֤ϡִʷ (vanilla)פˤܺ٤ˤǤ롣
.SH ץ
.PP
ץˤϡ\- ǻϤޤ 1 ʸΥСȡ
\-\- ǻϤޤĹС󤬤롣
\f2\-\-help\f1, \f2\-\-version\f1,
\f2\-\-no-i18n\f1, \f2\-\-print-text-domain-dir\f1 㳰ǡ
ûС󤬤ʤ
ĹץɬܤΰϡûץǤɬܤǤ롣
ץϤɤΤ褦ʽ֤ǤͿ뤳ȤǤ롣
ߤ˰¸Ƥ륪ץ⤢롣ȤС
.nf
	\f2\-l\f1  \f2\-L\f1 ץȤ硢\f2\-o\f1 ץɬפǤ롣
	\f2\-a\f1 ץȤ硢\f2\-n\f1 ץɬפǤ롣
	 \f2\-V\f1 ץ⻲Ȥ뤳ȡ
.fi
.SS եɥХåͿ롧
.IP "\f2\-\-help\f1"
إפɸϤɽ˽λ롣
.IP "\f2\-\-version\f1"
ץΥСֹɸϤɽ˽λ롣
.IP "\f2\-q\f1 \f2\-\-quiet\f1 \f2\-\-silent\f1"
֤Ȥܺ٤ʥåϤʤ
.SS ե
.IP "\f2\-p\f1  \f2\-\-intermix-type\f1"
֤˰¸ѥ᡼ץλѤ
\f2\-B\f1, \f2\-T\f1, \f2-z\f1, \f2\-Z\f1 ץ
(եꥹȤ) Ƥ褤
ΥץθΥեϤ٤ơؼ줿⡼ɤǽ롣
.IP "\f2\-S\f1  \f2\-\-stdin-file-list\f1"
ޥɥ饤󤫤ǤϤʤɸϤѥåեΰɤ߹ࡣ
Ϥ find ޥɤƱ
1 Ԥ 1 ĤΥե̾ǤʤФʤʤ
ѥåեΰ򥳥ޥɥ饤˽񤱤ʤˡ
ΥץΩġȤС
.nf

find . \-type f \-print | sort | shar \-S \-Z \-L50 \-o /tmp/big

.fi
\f2\-p\f1 ꤵ줿硢
\f2\-B\f1, \f2\-T\f1, \f2\-z\f1, \f2\-Z\f1 ץ
ɸϤ뤳ȤǤ (Ԥϥե̾Ƕڤ)
ɸϤιԿե̾ץϺ 1024 ۤƤϤʤʤ
.SS Ϥʬ䡧
.IP "\f2\-o\f1 XXX  \f2\-\-output-prefix=\f1XXX"
֤ɸϤ餺ե XXX.01  XXX.nn ¸롣
\f2\-l\f1 ޤ \f2\-L\f1 ץȤ硢
ΥץȤȡ
.IP "\f2\-l\f1 XX  \f2\-\-whole-size-limit=\f1XX"
ϥեΥ XX ХȤ¤褦Ȥ
(Υ꾮ʤϡ
ʣϥեޤȤ᤿ϥե)
(1 Ĥϥե򥢡֤
礭ʤǤ) ϥեʬ䤷ʤ
.IP "\f2\-L\f1 XX  \f2\-\-split-size-limit=\f1XX"
ϥեΥ XX ХȤ¤ɬפʤʬ䤹롣
ΥץǺ줿ʬΥ֥եϡ
֤ǥեФʤФʤʤ
.SS shar إå桧
.IP "\f2\-n\f1 name  \f2\-\-archive-name=\f1name"
shar եΥإå˥̾롣
\f2\-a\f1 ץ򻲾Ȥ뤳ȡ
.IP "\f2\-s\f1 who@where  \f2\-\-submitter=\f1who@where"
ưŪ˷ꤵ̾񤭤롣
.IP "\f2\-a\f1  \f2\-\-net-headers\f1"
Τ褦ʥإåư롣
.nf
	Submitted-by: who@where
	Archive-name: <name>/part##
.fi
<name>  \f2\-n\f1 ץǻؼʤФʤʤ
name  '/' ޤޤƤ硢"/part" ϻȤʤĤޤꡢ

.RS 10m
.nf
.ta 30n
\-n xyzzy	ξ硧
	xyzzy/part01
	xyzzy/part02

\-n xyzzy/patch	ξ硧
	xyzzy/patch01
	xyzzy/patch02

\-n xyzzy/patch01.	ξ硧
	xyzzy/patch01.01
	xyzzy/patch01.02
.RE
.fi
.IP ""
who@where ǥեȤǤŬڤʾ硢\f2\-s\f1
ץȤäŪǤ롣
who@where  `whoami`@`uname` Ǻ롣
.IP "\f2\-c\f1  \f2\-\-cut-mark\f1"
shar ե cut line ǻϤ롣'Cut here' Ƚ񤫤줿Ԥ
ƽϥեƬ֤롣
.SS եγǼˡ
.IP "\f2\-M\f1  \f2\-\-mixed-uuencode\f1"
⡼ɡե뤬ƥȤʤΤХʥʤΤꤷ
֤ (ǥեȤǤ)
ХʥǤȤ狼äեϡѥå uuencode 
(ͥåȥ¿οͤˡuuencode λѤϱ줿)
.IP "\f2\-T\f1  \f2\-\-text-files\f1"
٤ƤΥեƥȤȤư
.IP "\f2\-B\f1  \f2\-\-uuencode\f1"
٤ƤΥեХʥȤưѥå uuencode 롣
Υץϡ֤Υ礵롣
ԤϡեФ uudecode äƤʤФʤʤ
(ͥåȥ¿οͤˡuuencode λѤϱ줿)
.IP "\f2\-z\f1  \f2\-\-gzip\f1"
ѥåˡ٤ƤΥե gzip  uuencode 롣
ԤϡեФ uudecode  gzip äƤʤФʤʤ
(ͥåȥ¿οͤˡuuencode  gzip 
Ѥϱ줿)
.IP "\f2\-g\f1 LEVEL  \f2\-\-level-for-gzip=\f1LEVEL"
̤Ȥ'\-LEVEL'  gzip Υѥ᡼ȤƻȤ
ǥեȤ 9 Ǥ롣
\f2\-g\f1 ץϡǥեȤ \f2\-z\f1 ץ򥪥ˤ롣
.IP "\f2\-Z\f1  \f2\-\-compress\f1"
ѥåˡ٤ƤΥե compress  uuencode 롣
ԤϡեФ
uudecode  compress äƤʤФʤʤ
(ͥåȥ¿οͤˡuuencode  compress 
Ѥϱ줿)
\f2\-C\f1 ץϡ\f2\-Z\f1 ƱǤ뤬侩ʤ
.IP "\f2\-b\f1 BITS  \f2\-\-bits-per-code=\f1BITS"
̤Ȥ'\-bBITS'  compress Υѥ᡼ȤƻȤ
\f2\-B\f1 ץϡǥեȤ \f2\-Z\f1 ץ򥪥ˤ롣
ǥեȤͤ 12 Ǥ롣
.SS ž顼Фݸ
.IP "\f2\-w\f1  \f2\-\-no-character-count\f1"
եФ塢'wc \-c' ȤäƳƥեåʤ
ǥեȤǤϥå롣
.IP "\f2\-D\f1  \f2\-\-no-md5-digest\f1"
Фե򸡺뤿 \&'md5sum' ȤȤʤ
ǥեȤǤϡå롣
.IP "\f2\-F\f1  \f2\-\-force-prefix\f1"
ɬפʤǤ⡢Ū˥ץեåʸ
(\f2\-d\f1 ץΰ 'X' ǻϤޤäƤʤ¤ꡢ̾ 'X') 
٤ƤιԤιƬˤ
ä \f2\-B\f1  \f2\-Z\f1 Ȥ硢
Υץϥ֤Υ򾯤ä롣
.IP "\f2\-d\f1 XXX  \f2\-\-here-delimiter=\f1XXX"
SHAR_EOF Τ XXX  shar ֤Υեζ˻Ȥ
Υץϡshar ե򤽤οȼΤΤˤͤΤˤ롣
.SS फ shar եκ
.IP "\f2\-V\f1  \f2\-\-vanilla-operation\f1"
unshar 򤹤Ķ sed  echo ɤ褦ʡ
ִʷ (vanilla)shar ե롣
ˡ\f2\-x\f1 ץȤʤȤϡ
"if test" 򥵥ݡȤʤФʤʤ
\f2\-V\f1 ץϡ"network cop" (ޤϡ"brown shirt"
(𡧤䤿ȸܤ)) 
Բ˴륪ץۤΤԲĤˤ롣
\f2\-B\f1, \f2-z\f1, \f2\-Z\f1, \f2\-p\f1, \f2\-M\f1
ץƱ˻ꤵȡٹȯ
(Υץϡunshar 򤹤Ķ
uudecode, gzip, compress ɬפȤ)
.IP "\f2\-P\f1  \f2\-\-no-piping\f1"
shar ե (Ÿ) ˥ѥפǤϤʤեȤ
.IP "\f2\-x\f1  \f2\-\-no-check-existing\f1"
åˡ¸ߤե񤭤롣
\f2\-x\f1  \f2\-X\f1 ꤵʤϡ
֤եФȤˡ
¸ߤեåƾ񤭤ʤ
եФȤ

.RS 10m
sh archive -c
.RE
.IP ""
Ȥ褦ˡ\f2\-c\f1 ץȤؤΰȤϤȡ
¸ߤե뤬̵˾񤭤롣
.IP "\f2\-X\f1  \f2\-\-query-user\f1"
եФȤեξ񤭤桼Ū˿Ҥͤ롣
(ͥåȥ shar ե˻ȤäƤϤʤʤ)
.IP "\f2\-m\f1  \f2\-\-no-timestamp\f1"
֤եФȤ 'touch' ޥɤʤ
ե뽤ʤ
.IP "\f2\-Q\f1  \f2\-\-quiet-unshar\f1"
ܺٽϤ򤷤ʤ
եФȤ˽Ϥ륳Ȥ򥢡֤˴ޤʤ
.IP "\f2\-f\f1  \f2\-\-basename\f1"
ѥθե̾򤹤롣
Υץϥե̾Ȥ褦ˤ롣
shar ե뤬ʣΥǥ쥯ȥ꤫Ωġ
ǥ쥯ȥ̾ shar Ϥ硢
\f2\-f\f1 ץ󤬻ꤵƤ뤫ɤ˴طʤ
Υǥ쥯ȥʲγؤ뤳Ȥդ뤳ȡ
.SS ݲ
.IP "\f2\-\-no-i18n\f1"
ݲ줿륢֤餺ǥեȤαѸåȤ
shar ̾
֤եФȤ
(Ķѿ LANG/LC_MESSAGES Ƿꤵ) οͤιߤθ
åϤ뤳ȤǤ륢֤롣
եФȤοͤθΥåե뤬ʤϡ
åϱѸˤʤ롣
.IP "\f2\-\-print-text-domain-dir\f1"
shar ʸΥåե򸫤Ĥ뤿
ǥ쥯ȥɽ˽λ롣
.SH 
.nf
.ta 37n
shar *.c > cprog.shar	# ٤Ƥ C ץॽ
shar \-Q *.[ch] > cprog.shar	# ܺٽϤʤ.c  .h ե
shar \-B \-l28 \-oarc.sh *.arc	# ٤ƤΥХʥ .arc ե
	# ե arc.sh.01 - arc.sh.NN 
shar \-f /lcl/src/u*.c > u.sh	# ե̾Τߤ
.ta
.fi
.SH ٹ
.PP
եФȤǥ쥯ȥФơ
chmod  touch ư뤳ȤϤʤ
äơǥ쥯ȥ shar ǥѥåȡ
Ф줿ǥ쥯ȥΥϡ
Υǥ쥯ȥΤΤȰפʤ
.PP
shar ˥ǥ쥯ȥϤȡ
ǥ쥯ȥ 2 ʾ她󤵤롣
äơshar ưƤ֤˥ǥ쥯ȥѹʤ褦
դʤФʤʤ
.PP
ϥե뤬ϥե˴ޤޤʤ褦դ뤳ȡ
ʤȡshar ϥǥޤǥ롼פ롣
äˡshar ˥ǥ쥯ȥϤȤϡ
ϥե򤽤Υǥ쥯ȥ (⤷ϤΥ֥ǥ쥯ȥ) 
֤ʤ褦դ뤳ȡ
.PP
\f2\-B\f1, \f2\-z\f1, \f2\-Z\f1, ä \f2\-M\f1 Ȥȡ
ե˱ƥ֥ץ٤ʤ롣
.PP
\f2\-X\f1 ץȤȡ¿ unshar ץ
\f2\ְ㤤ʤ\f1  shar ե뤬롣
εǽȤΤϡդμ줿ǼϤ륢֤Τߤˤ뤳ȡ
\f2\-X\f1  Usenet ȯ
륢֤ΤΤΤǤϤʤ
\f2\-B\f1, \f2\-z\f1, \f2\-Z\f1 ͥåȥ shar ե˻Ȥȡ
񤵤
\f2\-m\f1  \f2\-F\f1 Ȥʤ⡢
.SH Ϣ
.PP 
unshar(1)
.SH ֤
.PP
ʥץ̷⤹륪ץ
̤Ǥʤե롦Ĥʤե롦Ǥʤե롢
(ͭʤ) ƤμԡФ륨顼å
.SH 
shar  unshar ץ¿ԤζƱʤǤ롣
¿ο͡𡦤ʲɤμºݤΥɤ󶡤
׸Ƥ줿
ο͡ sharutils ǥȥӥ塼
THANKS Ȥե˥ꥹȤƤ롣