

WC (1)                       2/15/79                       WC (1)




NAME
   wc - count lines, words, and characters in files

SYNOPSIS
   wc [-lwc] files...

DESCRIPTION
   Wc  prints  the  number of lines, words, and characters in the
   named files.  The filename "-" specifies the  standard  input.
   A  total  is  also  printed.   A  "word"  is  any  sequence of
   characters delimited by white space. 

   The options -l, -w, and -c specify,  respectively,  that  only
   the line, word, or character count be printed.  For example,

      wc -lc foo

   prints the number of lines and characters in "foo". 

   If  no  files  are  given, wc reads its standard input and the
   total count is suppressed. 

DIAGNOSTICS
   name: can't open
        Printed when an input file can't  be  opened;  processing
        ceases

AUTHORS
   David Hanson and friends (U. of Arizona)






























