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.
16
17 -c, --bytes
18 print the byte counts
19
20 -m, --chars
21 print the character counts
22
23 -l, --lines
24 print the newline counts
25
26 --files0-from=F
27 read input from the files specified by NUL-terminated names in
28 file F; If F is - then read names from standard input
29
30 -L, --max-line-length
31 print the length of the longest line
32
33 -w, --words
34 print the word counts
35
36 --help display this help and exit
37
38 --version
39 output version information and exit
40
42 Written by Paul Rubin and David MacKenzie.
43
45 Report wc bugs to bug-coreutils@gnu.org
46 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
47 General help using GNU software: <http://www.gnu.org/gethelp/>
48 Report wc translation bugs to <http://translationproject.org/team/>
49
51 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
52 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
53 This is free software: you are free to change and redistribute it.
54 There is NO WARRANTY, to the extent permitted by law.
55
57 The full documentation for wc is maintained as a Texinfo manual. If
58 the info and wc programs are properly installed at your site, the com‐
59 mand
60
61 info coreutils 'wc invocation'
62
63 should give you access to the complete manual.
64
65
66
67GNU coreutils 8.4 June 2018 WC(1)