1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH CUT "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 cut \- remove sections from each line of files
7 \fI\,OPTION\/\fR... [\fI\,FILE\/\fR]...
9 .\" Add any additional description here
11 Print selected parts of lines from each FILE to standard output.
13 With no FILE, or when FILE is \-, read standard input.
15 Mandatory arguments to long options are mandatory for short options too.
17 \fB\-b\fR, \fB\-\-bytes\fR=\fI\,LIST\/\fR
18 select only these bytes
20 \fB\-c\fR, \fB\-\-characters\fR=\fI\,LIST\/\fR
21 select only these characters
23 \fB\-d\fR, \fB\-\-delimiter\fR=\fI\,DELIM\/\fR
24 use DELIM instead of TAB for field delimiter
26 \fB\-f\fR, \fB\-\-fields\fR=\fI\,LIST\/\fR
27 select only these fields; also print any line
28 that contains no delimiter character, unless
29 the \fB\-s\fR option is specified
35 complement the set of selected bytes, characters
38 \fB\-s\fR, \fB\-\-only\-delimited\fR
39 do not print lines not containing delimiters
41 \fB\-\-output\-delimiter\fR=\fI\,STRING\/\fR
42 use STRING as the output delimiter
43 the default is to use the input delimiter
45 \fB\-z\fR, \fB\-\-zero\-terminated\fR
46 line delimiter is NUL, not newline
49 display this help and exit
52 output version information and exit
54 Use one, and only one of \fB\-b\fR, \fB\-c\fR or \fB\-f\fR. Each LIST is made up of one
55 range, or many ranges separated by commas. Selected input is written
56 in the same order that it is read, and is written exactly once.
60 N'th byte, character or field, counted from 1
63 from N'th byte, character or field, to end of line
66 from N'th to M'th (included) byte, character or field
69 from first to M'th (included) byte, character or field
71 Written by David M. Ihnat, David MacKenzie, and Jim Meyering.
73 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
75 Report cut translation bugs to <http://translationproject.org/team/>
77 Copyright \(co 2016 Free Software Foundation, Inc.
78 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
80 This is free software: you are free to change and redistribute it.
81 There is NO WARRANTY, to the extent permitted by law.
83 Full documentation at: <http://www.gnu.org/software/coreutils/cut>
85 or available locally via: info \(aq(coreutils) cut invocation\(aq