OSDN Git Service

b3a2980b9567da44fac0835943462233bd04a290
[linuxjm/coreutils.git] / original / man1 / wc.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH WC "1" "April 2010" "GNU coreutils 8.5" "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 .TP
19 \fB\-c\fR, \fB\-\-bytes\fR
20 print the byte counts
21 .TP
22 \fB\-m\fR, \fB\-\-chars\fR
23 print the character counts
24 .TP
25 \fB\-l\fR, \fB\-\-lines\fR
26 print the newline counts
27 .TP
28 \fB\-\-files0\-from\fR=\fIF\fR
29 read input from the files specified by
30 NUL\-terminated names in file F;
31 If F is \- then read names from standard input
32 .TP
33 \fB\-L\fR, \fB\-\-max\-line\-length\fR
34 print the length of the longest line
35 .TP
36 \fB\-w\fR, \fB\-\-words\fR
37 print the word counts
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 .SH AUTHOR
45 Written by Paul Rubin and David MacKenzie.
46 .SH "REPORTING BUGS"
47 Report wc bugs to bug\-coreutils@gnu.org
48 .br
49 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
50 .br
51 General help using GNU software: <http://www.gnu.org/gethelp/>
52 .br
53 Report wc translation bugs to <http://translationproject.org/team/>
54 .SH COPYRIGHT
55 Copyright \(co 2010 Free Software Foundation, Inc.
56 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
57 .br
58 This is free software: you are free to change and redistribute it.
59 There is NO WARRANTY, to the extent permitted by law.
60 .SH "SEE ALSO"
61 The full documentation for
62 .B wc
63 is maintained as a Texinfo manual.  If the
64 .B info
65 and
66 .B wc
67 programs are properly installed at your site, the command
68 .IP
69 .B info coreutils \(aqwc invocation\(aq
70 .PP
71 should give you access to the complete manual.