wc(1)
_________________________________________________________________
wc Command
word count
_________________________________________________________________
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 string of characters
delimited by spaces, tabs, or new-lines.
You can use the options l, w, and c 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 will be
printed along with the counts.
_________________________________________________________________
EXAMPLES
$ wc attachment
Prints the number of lines, words, and characters in the file
"attachment" on the standard output.
$ wc -cw memo
Prints the number of characters and words in the file "memo".
$ who | wc -l
Prints the current number of system users on the standard output.
_________________________________________________________________
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)