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