Imported upstream version 1.5
[manpages-zh.git] / raw / man1 / cut.1
blob8428ba8815745daaf7cc39fe43ebc9fa200ce0e2
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.022.
2 .TH CUT "1" "October 2003" "cut (coreutils) 5.0" FSF
3 .SH NAME
4 cut \- remove sections from each line of files
5 .SH SYNOPSIS
6 .B cut
7 [\fIOPTION\fR]... [\fIFILE\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 Mandatory arguments to long options are mandatory for short options too.
14 .TP
15 \fB\-b\fR, \fB\-\-bytes\fR=\fILIST\fR
16 output only these bytes
17 .TP
18 \fB\-c\fR, \fB\-\-characters\fR=\fILIST\fR
19 output only these characters
20 .TP
21 \fB\-d\fR, \fB\-\-delimiter\fR=\fIDELIM\fR
22 use DELIM instead of TAB for field delimiter
23 .TP
24 \fB\-f\fR, \fB\-\-fields\fR=\fILIST\fR
25 output only these fields;  also print any line
26 that contains no delimiter character, unless
27 the \fB\-s\fR option is specified
28 .TP
29 \fB\-n\fR
30 with \fB\-b\fR: don't split multibyte characters
31 .TP
32 \fB\-s\fR, \fB\-\-only\-delimited\fR
33 do not print lines not containing delimiters
34 .TP
35 \fB\-\-output\-delimiter\fR=\fISTRING\fR
36 use STRING as the output delimiter
37 the default is to use the input delimiter
38 .TP
39 \fB\-\-help\fR
40 display this help and exit
41 .TP
42 \fB\-\-version\fR
43 output version information and exit
44 .PP
45 Use one, and only one of \fB\-b\fR, \fB\-c\fR or \fB\-f\fR.  Each LIST is made up of one
46 range, or many ranges separated by commas.  Each range is one of:
47 .TP
49 N'th byte, character or field, counted from 1
50 .TP
52 from N'th byte, character or field, to end of line
53 .TP
54 N-M
55 from N'th to M'th (included) byte, character or field
56 .TP
57 \fB\-M\fR
58 from first to M'th (included) byte, character or field
59 .PP
60 With no FILE, or when FILE is -, read standard input.
61 .SH AUTHOR
62 Written by David Ihnat, David MacKenzie, and Jim Meyering.
63 .SH "REPORTING BUGS"
64 Report bugs to <bug-coreutils@gnu.org>.
65 .SH COPYRIGHT
66 Copyright \(co 2003 Free Software Foundation, Inc.
67 .br
68 This is free software; see the source for copying conditions.  There is NO
69 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
70 .SH "SEE ALSO"
71 The full documentation for
72 .B cut
73 is maintained as a Texinfo manual.  If the
74 .B info
75 and
76 .B cut
77 programs are properly installed at your site, the command
78 .IP
79 .B info cut
80 .PP
81 should give you access to the complete manual.