plan9 man page for wc

Query: wc

OS: plan9

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

WC(1)							      General Commands Manual							     WC(1)

NAME
wc - word count
SYNOPSIS
wc [ -lwrbc ] [ file ... ]
DESCRIPTION
Wc counts lines, words, runes, syntactically-invalid UTF codes and bytes in the named files, or in the standard input if no file is named. A word is a maximal string of characters delimited by spaces, tabs or newlines. The count of runes includes invalid codes. If the optional argument is present, just the specified counts (lines, words, runes, broken UTF codes or bytes) are selected by the letters l, w, r, b, or c. Otherwise, lines, words and bytes (-lwc) are reported.
SOURCE
/sys/src/cmd/wc.c
BUGS
The Unicode Standard has many blank characters scattered through it, but wc looks for only ASCII space, tab and newline. Wc should have options to count suboptimal UTF codes and bytes that cannot occur in any UTF code. WC(1)
Related Man Pages
wc(1) - mojave
tr(1) - plan9
plan9-tr(1) - debian
wc(1) - osf1
wc(1) - sunos
Similar Topics in the Unix Linux Community
question about wc
Alternative for wc -l
Problem with cut and wc
Strange behavior returning incorrect count
Print number of lines for files in directory, also print number of unique lines