summaryrefslogtreecommitdiff
path: root/static/v10/man1/wc.1
blob: 6631ae636a6d684ad07b015338b48cc0e0cc051a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.pa 1
.he 'WC (I)'3/15/72'WC (I)'
.ti 0
NAME		wc -- get (English) word count
.sp
.ti 0
SYNOPSIS	wc__ name918 ...
.sp
.ti 0
DESCRIPTION	wc__
provides a count of the words, text lines, and control lines for
each argument file.

A text line is a sequence of characters not beginning with ".",
"!" or "'"
and ended by a new-line.
A control line is a line beginning with ".",
"!" or "'".
A word is a sequence of characters bounded by the beginning
of a line, by the end of a line, or by a blank or a tab.

When
there is more than one input file,
a grand total is also printed.
.sp
.ti 0
FILES		--
.sp
.ti 0
SEE ALSO	roff(I)
.sp
.ti 0
DIAGNOSTICS	none; arguments not found are ignored.
.sp
.ti 0
BUGS		--