'\"macro stdmacro
.if n .pH g1.wc @(#)wc	40.3 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} wc 1 "Essential Utilities" "\&"
.if \nX=1 .ds x} wc 1 "Essential Utilities"
.if \nX=2 .ds x} wc 1 "" "\&"
.if \nX=3 .ds x} wc "" "" "\&"
.TH \*(x}
.SH NAME
\f4wc\f1 \- word count
.SH SYNOPSIS
\f4wc\f1 [\f4\-lwc\f1] [\f2names\f1]
.SH DESCRIPTION
\f4wc\fP
counts lines, words, and characters in the named files,
or in the standard input if no
.I 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 new-lines.
.PP
The options
\f4l\f1,
\f4w\f1,
and
\f4c\f1
may be used in any combination to specify that a subset of
lines, words, and characters are to be reported.
The default is
\f4\-lwc\f1.
.PP
When
.I names\^
are specified on the command line,
they will be printed along with the counts.
.\"	@(#)wc.1	6.2 of 9/2/83
.Ee
