WC(C) UNIX System V
Name
wc - counts lines, words and characters
Syntax
wc [ -lwc ] [ names ]
Description
wc counts lines, words and characters in the named files, or
in the standard input if no names appear. It also keeps a
total count for all named files. A word is a maximal string
of characters delimited by spaces, tabs, or newlines.
The options l, w, and c may be used in any combination to
specify that a subset of lines, words, and characters are to
be reported. The default is -lwc.
When names are specified on the command line, they are
printed along with the counts.
Standards Conformance
wc is conformant with:
AT&T SVID Issue 2, Select Code 307-127;
and The X/Open Portability Guide II of January 1987.
(printed 2/15/90) WC(C)