OSDN Git Service

coreutils: Update to coreutils 8.21
[linuxjm/coreutils.git] / original / man1 / wc.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH WC "1" "May 2014" "GNU coreutils 8.21" "User Commands"
3 .SH NAME
4 wc \- print newline, word, and byte counts for each file
5 .SH SYNOPSIS
6 .B wc
7 [\fIOPTION\fR]... [\fIFILE\fR]...
8 .br
9 .B wc
10 [\fIOPTION\fR]... \fI--files0-from=F\fR
11 .SH DESCRIPTION
12 .\" Add any additional description here
13 .PP
14 Print newline, word, and byte counts for each FILE, and a total line if
15 more than one FILE is specified.  With no FILE, or when FILE is \-,
16 read standard input.  A word is a non\-zero\-length sequence of characters
17 delimited by white space.
18 The options below may be used to select which counts are printed, always in
19 the following order: newline, word, character, byte, maximum line length.
20 .TP
21 \fB\-c\fR, \fB\-\-bytes\fR
22 print the byte counts
23 .TP
24 \fB\-m\fR, \fB\-\-chars\fR
25 print the character counts
26 .TP
27 \fB\-l\fR, \fB\-\-lines\fR
28 print the newline counts
29 .TP
30 \fB\-\-files0\-from\fR=\fIF\fR
31 read input from the files specified by
32 NUL\-terminated names in file F;
33 If F is \- then read names from standard input
34 .TP
35 \fB\-L\fR, \fB\-\-max\-line\-length\fR
36 print the length of the longest line
37 .TP
38 \fB\-w\fR, \fB\-\-words\fR
39 print the word counts
40 .TP
41 \fB\-\-help\fR
42 display this help and exit
43 .TP
44 \fB\-\-version\fR
45 output version information and exit
46 .SH AUTHOR
47 Written by Paul Rubin and David MacKenzie.
48 .SH "REPORTING BUGS"
49 Report wc bugs to bug\-coreutils@gnu.org
50 .br
51 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
52 .br
53 General help using GNU software: <http://www.gnu.org/gethelp/>
54 .br
55 Report wc translation bugs to <http://translationproject.org/team/>
56 .SH COPYRIGHT
57 Copyright \(co 2013 Free Software Foundation, Inc.
58 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
59 .br
60 This is free software: you are free to change and redistribute it.
61 There is NO WARRANTY, to the extent permitted by law.
62 .SH "SEE ALSO"
63 The full documentation for
64 .B wc
65 is maintained as a Texinfo manual.  If the
66 .B info
67 and
68 .B wc
69 programs are properly installed at your site, the command
70 .IP
71 .B info coreutils \(aqwc invocation\(aq
72 .PP
73 should give you access to the complete manual.