Debian Codegraph @

upstream/debian-unstable/man1/cut.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH CUT "1" "February 2026" "GNU coreutils 9.10" "User Commands"
3 .SH NAME
4 cut \- remove sections from each line of files
5 .SH SYNOPSIS
6 .B cut
7 \fI\,OPTION\/\fR... [\fI\,FILE\/\fR]...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Print selected parts of lines from each FILE to standard output.
12 .PP
13 With no FILE, or when FILE is \-, read standard input.
14 .PP
15 Mandatory arguments to long options are mandatory for short options too.
16 .TP
17 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-b'\fB\-b, \-\-bytes=\,LIST\fP\X'tty: link'\/\fR
18 select only these bytes
19 .TP
20 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-c'\fB\-c, \-\-characters=\,LIST\fP\X'tty: link'\/\fR
21 select only these characters
22 .TP
23 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-d'\fB\-d, \-\-delimiter=\,DELIM\fP\X'tty: link'\/\fR
24 use DELIM instead of TAB for field delimiter
25 .TP
26 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-f'\fB\-f, \-\-fields=\,LIST\fP\X'tty: link'\/\fR
27 select only these fields; also print any line that contains
28 no delimiter character, unless the \fB\-s\fR option is specified
29 .TP
30 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-n'\fB\-n\fP\X'tty: link'
31 (ignored)
32 .TP
33 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut--complement'\fB\-\-complement\fP\X'tty: link'
34 complement the set of selected bytes, characters or fields
35 .TP
36 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-s'\fB\-s, \-\-only\-delimited\fP\X'tty: link'
37 do not print lines not containing delimiters
38 .TP
39 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut--output-delimiter'\fB\-\-output\-delimiter=STRING\fP\X'tty: link'
40 use STRING as the output delimiter;
41 the default is to use the input delimiter
42 .TP
43 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cut-z'\fB\-z, \-\-zero\-terminated\fP\X'tty: link'
44 line delimiter is NUL, not newline
45 .TP
46 \X'tty: link https://www.gnu.org/software/coreutils/cut#cut--help'\fB\-\-help\fP\X'tty: link'
47 display this help and exit
48 .TP
49 \X'tty: link https://www.gnu.org/software/coreutils/cut#cut--version'\fB\-\-version\fP\X'tty: link'
50 output version information and exit
51 .PP
52 Use one, and only one of \fB\-b\fR, \fB\-c\fR or \fB\-f\fR. Each LIST is made up of one
53 range, or many ranges separated by commas. Selected input is written
54 in the same order that it is read, and is written exactly once.
55 Each range is one of:
56 .TP
57 N
58 N'th byte, character or field, counted from 1
59 .TP
60 N\-
61 from N'th byte, character or field, to end of line
62 .TP
63 N\-M
64 from N'th to M'th (included) byte, character or field
65 .TP
66 \fB\-M\fR
67 from first to M'th (included) byte, character or field
68 .SH AUTHOR
69 Written by David M. Ihnat, David MacKenzie, and Jim Meyering.
70 .SH "REPORTING BUGS"
71 Report bugs to: bug\[email protected]
72 .br
73 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
74 .br
75 General help using GNU software: <https://www.gnu.org/gethelp/>
76 .br
77 Report any translation bugs to <https://translationproject.org/team/>
78 .SH "SEE ALSO"
79 Full documentation <https://www.gnu.org/software/coreutils/cut>
80 .br
81 or available locally via: info \(aq(coreutils) cut invocation\(aq
82 .PP
83 .br
84 Packaged by Debian (9.10\-1)
85 .br
86 Copyright \(co 2026 Free Software Foundation, Inc.
87 .br
88 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
89 .br
90 This is free software: you are free to change and redistribute it.
91 .br
92 There is NO WARRANTY, to the extent permitted by law.