|
|
1.1 root 1: .th WC I 3/15/72
2: .sh NAME
3: wc \*- get (English) word count
4: .sh SYNOPSIS
5: .bd wc
6: files
7: .sh DESCRIPTION
8: .it Wc
9: provides a count of the words, text lines, and control lines for
10: each argument file.
11: If no files are provided,
12: .it wc
13: reads the standard input.
14: .s3
15: A text line is a sequence of characters not beginning with `\fB.\fR',
16: `!' or `\*a'
17: and ended by a new-line.
18: A control line is a line beginning with `\fB.\fR',
19: `!' or `\*a'.
20: A word is a sequence of characters bounded by the beginning
21: of a line, by the end of a line, or by a blank or a tab.
22: .s3
23: When
24: there is more than one input file,
25: a grand total is also printed.
26: .sh DIAGNOSTICS
27: none; arguments not found are ignored.
28: .sh BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.