Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

wc-original(1)

word count

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

With the coreutil package (with the extra set), see wc(1) instead.

NAME

wc - word count

SYNOPSIS

wc [-lwc] [names]

DESCRIPTION

wc counts lines, words, and characters in the named files, or in the standard input if no names appear. It also keeps a total count for all named files. A word is a maximal string of characters delimited by spaces, tabs, or newlines.

The options l, w, and c may be used in any combination to specify that a subset of lines, words, and characters are to be reported. The default is -lwc.

When names are specified on the command line, they will be printed along with the counts.