home *** CD-ROM | disk | FTP | other *** search
- WC Filter
- Command
-
-
- ----------------------------------------------------------------
-
- Purpose: This filter reads data from the standard input and
- counts the number of words, lines and characters. A
- report of the totals is sent to the standard output.
-
- Format: WC [/W] [/L] [/C]
-
- Type: Internal External
- ***
-
- Remarks: If no parameters are specified, a labeled report of
- total words, lines and characters is produced.
-
- The parameters may be used to select a report of words
- (/W), lines (/L), or characters (/C). Any combination
- of the various parameters may be used. To allow piping
- of results, use of any of the parameters will supress
- labeling of the output. Regardless of the order of
- parameters, the output report is ordered:
-
- Words
- Lines
- Characters
-
- WC defines a word as any string of characters which does
- not contain a blank, tab, carriage return, or line
- feed.
-
- WC requires DOS 2.0, and will abort and print an error
- message under earlier versions of DOS.
-
- Author: David Whitman
- 136 Wellington Terrace
- Lansdale, PA 19446