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
|
.\" This file documents the GNU text utilities.
.\"
.\" Copyright (C) 1994, 95, 96 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 Mon Jun 9 1997 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.TH CSPLIT 1 "GNU Text Utilities" "FSF" \" -*- nroff -*-
.SH ̾
csplit \- եʸ̮١ʬ䤹
.SH
.B csplit
[\-sqkz] [\-f prefix] [\-b suffix] [\-n digits] [\-\-prefix=prefix]
[\-\-suffix\-format=suffix] [\-\-digits=digits] [\-\-quiet] [\-\-silent]
[\-\-keep-files] [\-\-elide\-empty\-files] [\-\-help] [\-\-version]
file pattern...
.SH
ʸϤ⤦ƥʥƤʤΤǡΡԴ
ʲǽ롣ߤ texinfo ʸʾȤʤäƤ롣
.PP
Υޥ˥奢ڡ GNU
.BR csplit
ˤĤƵҤΤǤ롣
.B csplit
Ϳ줿ϥե
.IR file
ʥե̾ `-' ξɸϡ
γƥsectionˤƤä 0 İʾνϥե
롣ǥեȤǤ
.B csplit
Ϥ줾νϥեݤˡϤ줿Хȿɽ롣
.PP
ϥեƤϰ
.I pattern
ˤä롣
.I pattern
ǻꤵԤϥե¸ߤʤϥ顼Ȥʤ롣㤨
СͿ줿ɽ˥ޥåԤĤäƤʤʤɤ롣
Ϳ줿
.I pattern
٤ǤޥåƤСĤνϤϺǸνϥե˥ԡ
롣
.I pattern
ηȤƤϰʲΤ褦ʤΤ:
.RS
.TP
.I line
.br
\fIline\fP ˤꤹ롣ϥեϥե
Ƥֹ椬 \fIline\fP ˤʤޤǽʤ \fIline\fP
Ԥϴޤޤʤˡθˤ˿ꤵȡνϥե뤬
졢ϥե³ƤιֹޤǽǤ
.TP
/\fIregexp\fP/[\fIoffset\fP]
.br
ϥեϥեΤ
.I regexp
˥ޥåԤޤǤƤʥޥåԤϴޤޤʤˡ
.I offset
ղä뤳ȤǤ롣 `+' ޤ `-' ³ƻꤹ
롣
.I offset
ꤵȥޥåԤ
.I offset
ͤøԤޤǤϤ롣
ϥեλĤϼΥϤȤѤ롣
.TP
%\fIregexp\fP%[\fIoffset\fP]
.br
ľηƱͤϥե뤬ʤäϥե
륻̵뤵뤳Ȥˤʤ롣
.TP
{\fIrepeat-count\fP}
.br
.I repeat-count
ˤꤹ롣
ľΥѥ
.I repeat-count
β;פ˷꤫֤ʬǤʤꥹ
ꤹ뤳ȤǤ롣ξϥե뤬ޤľ
ѥ֤
.RE
.PP
ϥեΥե̾ĤʬʤäƤ롣ǥեȤǤϸȾ
2 10 ʿǡ 00 99 ޤǽ˥ȥåפƹԤ
ΥǥեȤ
.I \-\-digits
ץ
.I \-\-suffix\-format
ץˤäѹǤʾܺ٤ϸҡˡξǤ⡢ϥե
̾ǥȤƽ˷礵ȡϥե뤬褦ˤʤ
Ƥ롣ȾΥǥե̾ `xx' Ǥ롣
.PP
.B csplit
顼ˤʤäꡢ hangup interrupt quit terminate ʤɤΥʥ
äˤϡǥեȤǤϤޤǤ˺줿ϥեϾõ롣
.SS ץ
.TP
.I "\-f, \-\-prefix=prefix"
.I prefix
ϥե̾ȾʬʸȤѤ롣
.TP
.I "\-b, \-\-suffix\-format=suffix"
.I suffix
ϥե̾θȾѤ롣
.I suffix
ˤϡ printf(3) ѴʸꤷʤФʤʤ㤨 %d
Τ褦ʤΡꡢʸٻʤɤǽˡѴ
ʸɤʤǽϤΤǤʤФʤʤä
ȤΤ `d' `i' `u' `o' `x' `X' ˸¤롣
.I suffix
ʸϤ٤ơʸߤνϥե뤬ܤͤȶˡ
sprintf(3) ؿϤ졢줾νϥե˱֤̾˽
Ϥ롣
Υץꤵ줿ˤϡ
.I \-\-digits
ץ̵뤵Τդ뤳ȡ
.TP
.I "\-n, \-\-digits=digits"
ϥե̾οʬηǥեͤ 2
.I digits
ѹ롣
.TP
.I "\-k, \-\-keep-files"
.\" Do not remove output files when errors are encountered.
顼äȤˤޤǤ˺ϥեõʤ褦
롣
.TP
.I "\-z, \-\-elide\-empty\-files"
礭 0 νϥեʤ褦ˤʥζڤ꤬
κǽιԤˤ硢ΥץꤷƤʤбϥե
礭 0 ˤʤ롣ʤϥեνֹ֤ϡΥ
ˤä礭 0 ΥեνϤ줿Ǥ⡢ 0
饹ȤʤΤ褦ʾˤϥեθĿҤȤľʤʤ뤳
ˤʤˡ
.TP
.I "\-s, \-q, \-\-silent, \-\-quiet"
ϥեΥɽʤ
.TP
.I "\-\-help"
Ȥ˴ؤåɸϤɽ¹֤ƽλ롣
.TP
.I "\-\-version"
СɸϤɽƽλ롣
|