wc

Name

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

Description

wc is as specified in the SUS but with differences as listed below.

Differences

--bytes, --chars

is equivalent to -c.

--lines

is equivalent to -l.

-L, --max-line-length

prints the length of the longest line.

-m

has implementation-dependent behavior.

--words

is equivalent to -w.

--version

outputs version information and exits.