1WC(1) User Commands WC(1)
2
3
4
6 wc - print newline, word, and byte counts for each file
7
9 wc [OPTION]... [FILE]...
10 wc [OPTION]... --files0-from=F
11
13 Print newline, word, and byte counts for each FILE, and a total line if
14 more than one FILE is specified. With no FILE, or when FILE is -, read
15 standard input. A word is a non-zero-length sequence of characters
16 delimited by white space.
17
18 -c, --bytes
19 print the byte counts
20
21 -m, --chars
22 print the character counts
23
24 -l, --lines
25 print the newline counts
26
27 --files0-from=F
28 read input from the files specified by NUL-terminated names in
29 file F; If F is - then read names from standard input
30
31 -L, --max-line-length
32 print the length of the longest line
33
34 -w, --words
35 print the word counts
36
37 --help display this help and exit
38
39 --version
40 output version information and exit
41
43 Written by Paul Rubin and David MacKenzie.
44
46 Report wc bugs to bug-coreutils@gnu.org
47 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
48 General help using GNU software: <http://www.gnu.org/gethelp/>
49 Report wc translation bugs to <http://translationproject.org/team/>
50
52 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
53 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
54 This is free software: you are free to change and redistribute it.
55 There is NO WARRANTY, to the extent permitted by law.
56
58 The full documentation for wc is maintained as a Texinfo manual. If
59 the info and wc programs are properly installed at your site, the com‐
60 mand
61
62 info coreutils 'wc invocation'
63
64 should give you access to the complete manual.
65
66
67
68GNU coreutils 8.5 November 2010 WC(1)