WC(1) — Unix Programmer’s Manual
NAME
wc − word count
SYNOPSIS
wc [ options ] [ files ]
DESCRIPTION
Wc counts lines, words and characters in the named files, or in the standard input if no filename is given. A word is a maximal string of characters delimited by spaces, tabs or newlines.
OPTIONS
−c Character count is output.
−l Line count is output.
−w Word count is output.
The default is −clw.
4th Berkeley Distribution — 1 August 1985