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

AUTHOR

63       Written by David M. Ihnat, David MacKenzie, and Jim Meyering.
64

REPORTING BUGS

66       Report cut bugs to bug-coreutils@gnu.org
67       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
68       General help using GNU software: <http://www.gnu.org/gethelp/>
69       Report cut translation bugs to <http://translationproject.org/team/>
70
72       Copyright  ©  2010  Free Software Foundation, Inc.  License GPLv3+: GNU
73       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
74       This is free software: you are free  to  change  and  redistribute  it.
75       There is NO WARRANTY, to the extent permitted by law.
76

SEE ALSO

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