wc

Name

wc -- print the number of bytes, words, and lines in files

Description

The specification for "wc" is as specified in the SUS but with the following differences as listed below.

Differences

--bytes, --chars

equivalent to the -c option

--lines

equivalent to the -l option

-L, --max-line-length

print the length of the longest line

-m

This option as described in the SUS is not supported

--words

equivalent to the -w option

--version

output version information and exit