1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH CSPLIT "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 csplit \- split a file into sections determined by context lines
7 [\fI\,OPTION\/\fR]... \fI\,FILE 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 Read standard input if FILE is \-
16 Mandatory arguments to long options are mandatory for short options too.
18 \fB\-b\fR, \fB\-\-suffix\-format\fR=\fI\,FORMAT\/\fR
19 use sprintf FORMAT instead of %02d
21 \fB\-f\fR, \fB\-\-prefix\fR=\fI\,PREFIX\/\fR
22 use PREFIX instead of 'xx'
24 \fB\-k\fR, \fB\-\-keep\-files\fR
25 do not remove output files on errors
27 \fB\-\-suppress\-matched\fR
28 suppress the lines matching PATTERN
30 \fB\-n\fR, \fB\-\-digits\fR=\fI\,DIGITS\/\fR
31 use specified number of digits instead of 2
33 \fB\-s\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
34 do not print counts of output file sizes
36 \fB\-z\fR, \fB\-\-elide\-empty\-files\fR
37 remove empty output files
40 display this help and exit
43 output version information and exit
44 .SS "Each PATTERN may be:"
47 copy up to but not including specified line number
50 copy up to but not including a matching line
53 skip to, but not including a matching line
56 repeat the previous pattern specified number of times
59 repeat the previous pattern as many times as possible
61 A line OFFSET is a required '+' or '\-' followed by a positive integer.
63 Written by Stuart Kemp and David MacKenzie.
65 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
67 Report csplit translation bugs to <http://translationproject.org/team/>
69 Copyright \(co 2016 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 Full documentation at: <http://www.gnu.org/software/coreutils/csplit>
77 or available locally via: info \(aq(coreutils) csplit invocation\(aq