Commit | Line | Data |
---|---|---|
cb8087dd JO |
1 | .pa 1 |
2 | .he 'WC (I)'3/15/72'WC (I)' | |
3 | .ti 0 | |
4 | NAME wc -- get (English) word count | |
5 | .sp | |
6 | .ti 0 | |
7 | SYNOPSIS wc\b\b__ name\e91\e8 ... | |
8 | .sp | |
9 | .ti 0 | |
10 | DESCRIPTION wc\b\b__ | |
11 | provides a count of the words, text lines, and control lines for | |
12 | each argument file. | |
13 | ||
14 | A text line is a sequence of characters not beginning with ".", | |
15 | "!" or "'" | |
16 | and ended by a new-line. | |
17 | A control line is a line beginning with ".", | |
18 | "!" or "'". | |
19 | A word is a sequence of characters bounded by the beginning | |
20 | of a line, by the end of a line, or by a blank or a tab. | |
21 | ||
22 | When | |
23 | there is more than one input file, | |
24 | a grand total is also printed. | |
25 | .sp | |
26 | .ti 0 | |
27 | FILES -- | |
28 | .sp | |
29 | .ti 0 | |
30 | SEE ALSO roff(I) | |
31 | .sp | |
32 | .ti 0 | |
33 | DIAGNOSTICS none; arguments not found are ignored. | |
34 | .sp | |
35 | .ti 0 | |
36 | BUGS -- |