When filenames are specified on the command line, their names will be printed along with the counts.
The default is -lwc (count lines, words, and characters).
example% wc /usr/share/man/man1/{csh.1,sh.1,telnet.1} 1876 11223 65895 /usr/share/man/man1/csh.1 674 3310 20338 /usr/share/man/man1/sh.1 260 1110 6834 /usr/share/man/man1/telnet.1 2810 15643 93067 total example%
The environment variables LC_CTYPE, LANG, and LC_default control the character classification throughout wc. On entry to wc, these environment variables are checked in the following order: LC_CTYPE, LANG, and LC_default. When a valid value is found, remaining environment variables for character classification are ignored. For example, a new setting for LANG does not override the current valid character classification rules of LC_CTYPE. When none of the values is valid, the shell character classification defaults to the POSIX.1 ``C'' locale.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97