Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wc(1) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ls(1)

du(1)



WC(1)                   COMMAND REFERENCE                   WC(1)



NAME
     wc - word count

SYNOPSIS
     wc [ -c ] [ -l ] [ -v ] [ -w ] [ name... ]

DESCRIPTION
     Wc counts lines, words, and characters in the named files,
     or in the standard input if no name appears.  A word is a
     maximal string of characters delimited by spaces, tabs or
     newlines.

     If you specify any of the options -l, -w, or -c, the
     selected counts (lines, words, or characters) are displayed.
     The default is -lwc.

     The -v option asks for a verbose output format with headers.

OPTIONS
     -c Calculates the number of characters in the file.

     -l Calculates the number of lines in the file.

     -v Asks for a verbose output format with headers.

     -w Calculates the number of words in the file.

EXAMPLES
     The following invocation of wc prints a line of headers
     labeling each value returned, followed by a line of the
     actual values for the file test:

           wc -v test

     The next invocation of wc prints a heading line, followed by
     the number of lines and characters in the file test:

           wc -lcv test

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.

SEE ALSO
     ls(1) and du(1).




Printed 5/12/88                                                 1





































































%%index%%
na:192,67;
sy:259,246;
de:505,686;
op:1191,378;
ex:1569,479;
rv:2048,442;
se:2490,114;
%%index%%000000000120

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