1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH CSPLIT "1" "March 2012" "GNU coreutils 8.16" "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 csplit bugs to bug\-coreutils@gnu.org
63 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
65 General help using GNU software: <http://www.gnu.org/gethelp/>
67 Report csplit translation bugs to <http://translationproject.org/team/>
69 Copyright \(co 2012 Free Software Foundation, Inc.
70 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
72 This is free software: you are free to change and redistribute it.
73 There is NO WARRANTY, to the extent permitted by law.
75 The full documentation for
77 is maintained as a Texinfo manual. If the
81 programs are properly installed at your site, the command
83 .B info coreutils \(aqcsplit invocation\(aq
85 should give you access to the complete manual.