Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wc(1) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

WC(1)  —  Silicon Graphics

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 new-lines. 

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. 

EXAMPLE

wc filea fileb filec

reports the number of lines, words, and characters in each of the files. 

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026