AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
i�
CSPLIT ( 1) CSPLIT (l) NAME csplit - context split SYNOPSIS c8plit [-8] [-k] [-f prefix] file argl [ • • • argn] DESCRIPTION Csplit reads file and separates it into n+l sections, defined by the arguments argl . • • argn . By default the sections are placed in xxOO • • • xxn (n may not be greater than 99). These sections get the following pieces of file : 00: From the start of file up to (but not including) the line referenced by argl . 01: From the line referenced by argl up to the line referenced by arg2. n+l: From the line referenced by argn to the end of file . The options to csplit are: -8 Csplit normally prints the character counts for each file created. If the -8 option is present, csplit suppresses the printing of all character counts. -k Csplit normally removes created files if an error occurs. If the -k option is present, csplit leaves previously created files intact. -f prefix If the -f option is used, the created files are named prefixOO • • • prefixn . The default is xxOO • • • xxn. The arguments ( argl • • • argn) to csplit can be a combination of the following: I rexp I A file is to be created for the section from the current line up to (but not including) the line containing the regular expression rexp . The current line becomes the line containing rexp . This argument may be followed by an optional + or - some number of lines (e.g., IPagel-5). %rexp% This argument is the same as lrexp I, except that no file is created for the section. lnno A file is to be created from the current line up to (but not including) lnno. The current line becomes lnno. { num} Repeat argument. This argument may follow any of the above arguments. If it follows a rexp type argument, that argument is applied num more times. If it follows lnno, the file will be split every lnno lines (num times) from that point. Enclose all rexp type arguments that contain blanks or other characters meaningful to the Shell in the appropriate quotes. - 1 -
- Page 203 and 204: BDIFF(l) BDIFF ( 1 ) NAME bdiff - b
- Page 205 and 206: BFS (I) BFS(I) NAME bfs - big file
- Page 207 and 208: BFS (l) BFS (l) could be used to ma
- Page 209: CAL ( 1) CAL(l) NAME cal - print ca
- Page 212 and 213: ' ..
- Page 215 and 216: ;� CC ( l ) cc (1) NAME cc - C co
- Page 217: CC(l) /lib/crts.o /lib/mcrto.o /lib
- Page 221 and 222: CDC ( 1 ) CDC { 1) NAME cdc - chang
- Page 223: CDC (l) CDC (l) SEE ALSO admin( l),
- Page 226 and 227: CFLOW ( 1) CFLOW ( 1) produces the
- Page 228 and 229: CFONT(l) (AT&T UNIX PC only ) CFONT
- Page 231: CHOWN (l) CHOWN ( 1) NAME chown, ch
- Page 234 and 235: .'�
- Page 236 and 237: I I I I I I I I I I I I I I I I I I
- Page 238 and 239: COL(l) COL(l) BUGS Cannot back up m
- Page 240 and 241: COMB(l) COMB(l) FIT..ES s.COMB The
- Page 243 and 244: CP ( 1) CP ( 1) NAME cp, In, mv - c
- Page 245 and 246: CPIO ( 1 ) CPIO ( 1) NAME cpio - co
- Page 247: CPIO ( 1) CPIO ( 1) track of them a
- Page 250 and 251: CPP ( 1) CPP (1) Two special names
- Page 253: CRYPT { l ) ( Domestic Version Only
- Page 257 and 258: CU ( lC ) CU ( lC ) NAME cu - call
- Page 259: CU(lC) CU ( lC ) BUGS Cu buffers in
- Page 262 and 263: CUT ( 1) CUT(l) DIAGNOSTICS line to
- Page 264 and 265: CW(l) CW (l) .OW Start of text to b
- Page 266 and 267: CW (l) CW (l) Documents that contai
- Page 268 and 269: .� .• \ __ }
- Page 270 and 271: DATE(l) DATE(l) DIAGNOSTICS No perm
- Page 272 and 273: DC( 1) DC (1) x =x The top two elem
- Page 275 and 276: DD ( 1 ) DD ( 1) NAME dd - convert
- Page 277 and 278: � I DELTA ( l ) DELTA (I) NAME de
- Page 279 and 280: DELTA ( 1) DELTA (!) WARNINGS Lines
- Page 281: DEROFF (l) DEROFF (l) NAME derofi -
- Page 284 and 285: DIFF ( 1) DIFF ( 1) -e producing a
- Page 287: DIFF3 ( 1 ) DIFF3 (1) NAME diff3 -
- Page 291: DIRCMP ( 1) DIRCMP ( 1) NAME dircmp
- Page 295 and 296: DUMP ( 1 ) DUMP(!) NAME dump - dump
- Page 297: ECHO (l) ECHO (l) NAME echo - echo
- Page 300 and 301: ED ( l ) ED {1) the RE. The REs all
- Page 302 and 303: ED (l) ED (1) . 6. FILES below. A R
CSPLIT ( 1) CSPLIT (l)<br />
NAME csplit - context split<br />
SYNOPSIS<br />
c8plit [-8] [-k] [-f prefix] file argl [ • • • argn]<br />
DESCRIPTION<br />
Csplit reads file and separates it into n+l sections, defined by the<br />
arguments argl . • • argn . By default the sections are placed in<br />
xxOO • • • xxn (n may not be greater than 99). These sections<br />
get the following pieces of file :<br />
00: From the start of file up to (but not including) the<br />
line referenced by argl .<br />
01: From the line referenced by argl up to the line<br />
referenced by arg2.<br />
n+l: From the line referenced by argn to the end of file .<br />
The options to csplit are:<br />
-8 Csplit normally prints the character counts for<br />
each file created. If the -8 option is present,<br />
csplit suppresses the printing of all character<br />
counts.<br />
-k Csplit normally removes created files if an error<br />
occurs. If the -k option is present, csplit leaves<br />
previously created files intact.<br />
-f prefix If the -f option is used, the created files are<br />
named prefixOO • • • prefixn . The default is<br />
xxOO • • • xxn.<br />
The arguments ( argl • • • argn) to csplit can be a combination<br />
of the following:<br />
I rexp I A file is to be created for the section from the<br />
current line up to (but not including) the line containing<br />
the regular expression rexp . The current<br />
line becomes the line containing rexp . This argument<br />
may be followed by an optional + or - some<br />
number of lines (e.g., IPagel-5).<br />
%rexp% This argument is the same as lrexp I, except that<br />
no file is created for the section.<br />
lnno A file is to be created from the current line up to<br />
(but not including) lnno. The current line<br />
becomes lnno.<br />
{ num} Repeat argument. This argument may follow any<br />
of the above arguments. If it follows a rexp type<br />
argument, that argument is applied num more<br />
times. If it follows lnno, the file will be split every<br />
lnno lines (num times) from that point.<br />
Enclose all rexp type arguments that contain blanks or other<br />
characters meaningful to the Shell in the appropriate quotes.<br />
- 1 -