WC(1) — User’s Manual — Commands
NAME
wc − word count
SYNOPSIS
wc [ −lwcpt ] [ −bbaud ] [ −spagesize ] [ −u ] [ −v ] [ file ... ]
DESCRIPTION
Wc counts lines, words, and characters — and, optionally, pages and the print time — in the named files, or in the standard input if no file names appear. A word is a maximal string of characters delimited by spaces, tabs, or newlines.
OPTIONS
If an argument beginning with one of ‘lwcpt’ is present, the specified counts are selected by the letters:
lCount lines.
wCount words.
cCount characters.
pCount pages.
tCount time.
The default is −lwc (count lines, words, and characters) unless −v is specified.
−bbaud
Figure the time at the specified baud rate instead of the default 300 baud.
−spagesize
Pages are pagesize lines long instead of the default 66.
−uPrint the time based on uucp transmission time, about 90% as fast as normal.
−vDisplay a verbose output format, with headers and including pages and time by default.
Sun System Release 0.3 — 27 April 1983