1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH CSPLIT "1" "March 2007" "GNU coreutils 6.9" "User Commands"
4 csplit \- split a file into sections determined by context lines
7 [\fIOPTION\fR]... \fIFILE PATTERN\fR...
9 .\" Add any additional description here
11 Output pieces of FILE separated by PATTERN(s) to files `xx00', `xx01', ...,
12 and output byte counts of each piece to standard output.
14 Mandatory arguments to long options are mandatory for short options too.
16 \fB\-b\fR, \fB\-\-suffix\-format\fR=\fIFORMAT\fR
17 use sprintf FORMAT instead of %02d
19 \fB\-f\fR, \fB\-\-prefix\fR=\fIPREFIX\fR
20 use PREFIX instead of `xx'
22 \fB\-k\fR, \fB\-\-keep\-files\fR
23 do not remove output files on errors
25 \fB\-n\fR, \fB\-\-digits\fR=\fIDIGITS\fR
26 use specified number of digits instead of 2
28 \fB\-s\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
29 do not print counts of output file sizes
31 \fB\-z\fR, \fB\-\-elide\-empty\-files\fR
32 remove empty output files
35 display this help and exit
38 output version information and exit
40 Read standard input if FILE is \-. Each PATTERN may be:
43 copy up to but not including specified line number
46 copy up to but not including a matching line
49 skip to, but not including a matching line
52 repeat the previous pattern specified number of times
55 repeat the previous pattern as many times as possible
57 A line OFFSET is a required `+' or `\-' followed by a positive integer.
59 Written by Stuart Kemp and David MacKenzie.
61 Report bugs to <bug\-coreutils@gnu.org>.
63 Copyright \(co 2007 Free Software Foundation, Inc.
65 This is free software. You may redistribute copies of it under the terms of
66 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
67 There is NO WARRANTY, to the extent permitted by law.
69 The full documentation for
71 is maintained as a Texinfo manual. If the
75 programs are properly installed at your site, the command
79 should give you access to the complete manual.