wc [-lwbrc] [file...]
Values are output in decimal format and are output in the same order as the listing of options (below).
The whitespace characters used in this calculation are ' ' (blank), '\t' (tab), and '\n' (newline). A word is defined to be a sequence of non-whitespace characters separated by one or more whitespace characters.
-l (default)
|
Count lines.
|
-w (default)
|
Count words.
|
-c (default)
|
Count characters.
|
-b
|
Count bytes.
|
-e
|
Count erroneously encoded characters.
|
utf
|
Discussion of the UTF format
|