1CUT(1)                           User Commands                          CUT(1)
2
3
4

NAME

6       cut - remove sections from each line of files
7

SYNOPSIS

9       cut OPTION... [FILE]...
10

DESCRIPTION

12       Print selected parts of lines from each FILE to standard output.
13
14       Mandatory  arguments  to  long  options are mandatory for short options
15       too.
16
17       -b, --bytes=LIST
18              select only these bytes
19
20       -c, --characters=LIST
21              select only these characters
22
23       -d, --delimiter=DELIM
24              use DELIM instead of TAB for field delimiter
25
26       -f, --fields=LIST
27              select only these fields;  also print any line that contains  no
28              delimiter character, unless the -s option is specified
29
30       -n     with -b: don't split multibyte characters
31
32       --complement
33              complement the set of selected bytes, characters or fields
34
35       -s, --only-delimited
36              do not print lines not containing delimiters
37
38       --output-delimiter=STRING
39              use  STRING  as  the  output delimiter the default is to use the
40              input delimiter
41
42       --help display this help and exit
43
44       --version
45              output version information and exit
46
47       Use one, and only one of -b, -c or -f.  Each LIST is  made  up  of  one
48       range,  or  many ranges separated by commas.  Selected input is written
49       in the same order that it is read, and is written exactly  once.   Each
50       range is one of:
51
52       N      N'th byte, character or field, counted from 1
53
54       N-     from N'th byte, character or field, to end of line
55
56       N-M    from N'th to M'th (included) byte, character or field
57
58       -M     from first to M'th (included) byte, character or field
59
60       With no FILE, or when FILE is -, read standard input.
61
62       GNU  coreutils  online  help:  <http://www.gnu.org/software/coreutils/>
63       Report cut translation bugs to <http://translationproject.org/team/>
64

AUTHOR

66       Written by David M. Ihnat, David MacKenzie, and Jim Meyering.
67
69       Copyright © 2013 Free Software Foundation, Inc.   License  GPLv3+:  GNU
70       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
71       This  is  free  software:  you  are free to change and redistribute it.
72       There is NO WARRANTY, to the extent permitted by law.
73

SEE ALSO

75       The full documentation for cut is maintained as a Texinfo  manual.   If
76       the info and cut programs are properly installed at your site, the com‐
77       mand
78
79              info coreutils 'cut invocation'
80
81       should give you access to the complete manual.
82
83
84
85GNU coreutils 8.22               October 2018                           CUT(1)
Impressum