1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
11 .\" GNU split man page
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
17 .\" Updated & Modified Sat Jan 24 18:43:50 JST 2004
18 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
20 .TH SPLIT 1 "7 October 2002" "GNU textutils 2.1"
22 .\"O \fBsplit\fR \- split a file into fixed-size pieces
24 split \- ¥Õ¥¡¥¤¥ë¤ò·è¤Þ¤Ã¤¿Â礤µ¤Ëʬ³ä¤¹¤ë
28 [\fB\-\fILINES\fR] [\fB-a \fILENGTH\fR] [\fB\-b \fIBYTES\fR] [\fB\-l \fILINES\fR]
29 [\fB\-C \fIBYTES\fR] [\fB\-\-bytes=\fIBYTES\fR] [\fB\-\-lines=\fILINES\fR]
30 [\fB\-\-line\-bytes=\fIBYTES\fR] [\fB\-\-verbose\fR] [\fIFILE\fR]
32 .BR split " [" \-\-help "] [" \-\-version ]
36 .\"O creates output files containing consecutive sections of \fIFILE\fR. If
38 .\"O is omitted or if it is a
40 .\"O standard input is used for reading.
44 ¤Î³Æ¥»¥¯¥·¥ç¥ó¤ÎÆâÍƤò»ý¤Ä¥Õ¥¡¥¤¥ë¤ò¼¡¡¹¤ËºîÀ®¤·¤Æ½ÐÎϤ¹¤ë¡£
48 ¤À¤Ã¤¿¾ì¹ç¤Ë¤Ïɸ½àÆþÎϤ¬ÍѤ¤¤é¤ì¤ë¡£
50 .\"O By default, \fBsplit\fR puts 1000 lines of \fIFILE\fR (or whatever is left
51 .\"O over for the last section), into each output file.
56 ¤Î¤¦¤Á¤Î 1000 ¹Ô¤º¤Ä (1000 ¹Ô¤ËËþ¤¿¤Ê¤¤¾ì¹ç¤Ï»Ä¤êÁ´Éô)
57 ¤ò³Æ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¡£
59 .\"O The output files' names consist of \fIPREFIX\fR (`\fBx\fR' by default) followed
60 .\"O by a group of letters `aa', `ab', and so on, such that concatenating
61 .\"O the output files in sorted order by file name produces the original
62 .\"O input file. (If more than 676 output files are required, \fBsplit\fR uses
63 .\"O `zaa', `zab', etc.) The length of this group can be changed by
64 .\"O \fB\-\-suffix\-length\fR).
67 (¥Ç¥Õ¥©¥ë¥È¤Ï `\fBx\fR') ¤Ë `aa' ¤ä `ab' ¤Ê¤É¤Îʸ»úÎ󽸹ç¤òÉղä·¤¿¤â¤Î¤Ë¤Ê¤ë¡£
68 ½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò¥Õ¥¡¥¤¥ë̾¤Ç¥½¡¼¥È¤·¤Æ·ë¹ç¤¹¤ë¤È
69 ¸µ¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ê¤ë¤è¤¦¤Ë¡¢Éղ乤ëʸ»úÎó¤¬Áª¤Ð¤ì¤ë¡£
70 (676 ¤è¤ê¤â¿¤¯¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤¬É¬Íפˤʤë¾ì¹ç¤Ï¡¢
72 ¤Ï `zaa', `zab' ¤Ê¤É¤òÍѤ¤¤ë¡£)
73 ¤³¤Î¥°¥ë¡¼¥×¤ÎŤµ¤Ï \fB\-\-suffix\-length\fR ¤ÇÊѹ¹¤Ç¤¤ë¡£
77 .B \-\fILINES\fB, \-l \fILINES\fB, \-\-lines=\fILINES
78 .\"O Put \fILINES\fR lines of \fIFILE\fR into each output file, instead of the
79 .\"O default 1000 lines. Short option form \fB\-\fILINES\fR is deprecated.
83 ¹Ôʬ¤º¤Ä (¥Ç¥Õ¥©¥ë¥È¤Ï 1000 ¹Ô) ¤ò³Æ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¡£
84 û¤¤¥ª¥×¥·¥ç¥ó·Á¼° \fB\-\fILINES\fR ¤Ï¿ä¾©¤µ¤ì¤Ê¤¤¡£
86 .B \-a \fILENGTH\fB, \-\-suffix\-length=\fILENGTH
87 .\"O Use suffixes of \fILENGTH\fR characters. (Default: 2)
88 \fILENGTH\fR ʸ»ú¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤ò»È¤¦ (¥Ç¥Õ¥©¥ë¥È¤Ï 2 ¤Ç¤¢¤ë)¡£
90 .B \-b \fIBYTES\fB, \-\-bytes=\fIBYTES
91 .\"O Put the first \fIBYTES\fR bytes of \fIFILE\fR into each output file.
94 .\"O multiplies \fIBYTES\fR by 512,
102 ¥Ð¥¤¥È¤º¤Ä¤ò³Æ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤³¤à¡£
104 ¤òÉղ乤ë¤È \fIBYTES\fR ¤Ï 512 ÇÜ¡¢
108 ¤Ê¤é 1048576 Çܤµ¤ì¤ë¡£
110 .B \-C \fIBYTES\fB, \-\-line\-bytes=\fIBYTES
111 .\"O Put into each output file as many complete lines of \fIFILE\fR as
112 .\"O possible without exceeding \fIBYTES\fR bytes. For lines longer than
113 .\"O \fIBYTES\fR bytes, put \fIBYTES\fR bytes into each output file until less than
114 .\"O \fIBYTES\fR bytes of the line are left, then continue normally. \fIBYTES\fR
115 .\"O has the same format as for the \fB\-\-bytes\fR option.
119 ¥Ð¥¤¥È¤ò±Û¤¨¤Ê¤¤ÈϰϤǡ¢¤Ç¤¤ë¤À¤±¤¿¤¯¤µ¤ó³Æ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¡£
121 ¥Ð¥¤¥È¤è¤ê¤âŤ¤¹Ô¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¹Ô¤Î»Ä¤ê¤¬
125 ¥Ð¥¤¥ÈËè¤ò½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ß¡¢¸å¤ÏÄ̾ï¤ËÆ°ºî¤ò³¤±¤ë¡£
129 ¥ª¥×¥·¥ç¥ó¤ÈƱÍͤηÁ¼°¤Ç»ØÄê¤Ç¤¤ë¡£
132 .\"O Always print file name headers.
133 ¾ï¤Ë¥Õ¥¡¥¤¥ë̾¤Î¥Ø¥Ã¥À¤òɽ¼¨¤¹¤ë¡£
136 .\"O Print a usage message on standard output and exit successfully.
137 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
140 .\"O Print version information on standard output then exit successfully.
141 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
144 .\"O Report bugs to bug-textutils@gnu.org.
146 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
147 ¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï bug-textutils@gnu.org ¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
149 man ¥Ú¡¼¥¸¤Ï Ragnar Hojland Espinosa
150 <ragnar@ragnar-hojland.com> ¤¬ºîÀ®¤·¤Þ¤·¤¿¡£