Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wc(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sum(1)

sumdir(1)




wc(1) wc(1)
NAME wc - counts characters, words, and lines in a file SYNOPSIS wc [-[chunk-size]] [file]... ARGUMENTS -[chunk-size] Specifies one or more things to count. Replace chunk-size with one or a combination of the following options: c Requests a report of the number of characters in a file. l Requests a report of the number of lines in a file. w Requests a report of the number of words in a file. file Specifies the file to be counted. DESCRIPTION wc counts lines, words, and characters in the specified files or in the standard input (if no files appear). It also keeps a total count for all files. A word is a maximal string of characters delimited by spaces, tabs, or newlines. The options may be used in any combination; the default is -lwc. When files are specified on the command line, they will be printed along with the counts. EXAMPLES Enter this command: wc filea fileb filec to report the number of lines, words, and characters in each of the files, as well as the totals. FILES /bin/wc Executable file SEE ALSO sum(1), sumdir(1) January 1992 1

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