OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / cut.1
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"
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 \fB\-b\fR, \fB\-\-bytes\fR=\fI\,LIST\/\fR
18 select only these bytes
19 .TP
20 \fB\-c\fR, \fB\-\-characters\fR=\fI\,LIST\/\fR
21 select only these characters
22 .TP
23 \fB\-d\fR, \fB\-\-delimiter\fR=\fI\,DELIM\/\fR
24 use DELIM instead of TAB for field delimiter
25 .TP
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
30 .TP
31 \fB\-n\fR
32 (ignored)
33 .TP
34 \fB\-\-complement\fR
35 complement the set of selected bytes, characters
36 or fields
37 .TP
38 \fB\-s\fR, \fB\-\-only\-delimited\fR
39 do not print lines not containing delimiters
40 .TP
41 \fB\-\-output\-delimiter\fR=\fI\,STRING\/\fR
42 use STRING as the output delimiter
43 the default is to use the input delimiter
44 .TP
45 \fB\-z\fR, \fB\-\-zero\-terminated\fR
46 line delimiter is NUL, not newline
47 .TP
48 \fB\-\-help\fR
49 display this help and exit
50 .TP
51 \fB\-\-version\fR
52 output version information and exit
53 .PP
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.
57 Each range is one of:
58 .TP
59 N
60 N'th byte, character or field, counted from 1
61 .TP
62 N\-
63 from N'th byte, character or field, to end of line
64 .TP
65 N\-M
66 from N'th to M'th (included) byte, character or field
67 .TP
68 \fB\-M\fR
69 from first to M'th (included) byte, character or field
70 .SH AUTHOR
71 Written by David M. Ihnat, David MacKenzie, and Jim Meyering.
72 .SH "REPORTING BUGS"
73 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
74 .br
75 Report cut translation bugs to <http://translationproject.org/team/>
76 .SH COPYRIGHT
77 Copyright \(co 2016 Free Software Foundation, Inc.
78 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
79 .br
80 This is free software: you are free to change and redistribute it.
81 There is NO WARRANTY, to the extent permitted by law.
82 .SH "SEE ALSO"
83 Full documentation at: <http://www.gnu.org/software/coreutils/cut>
84 .br
85 or available locally via: info \(aq(coreutils) cut invocation\(aq