WC(1)                                                       WC(1)

     NAME
          wc - count lines, words, and characters

     SYNOPSIS
          wc [ -lwceb ] [ file ... ]

     DESCRIPTION
          Wc writes to standard output a tally of lines, words, and
          characters found in each file, assumed to be text in UTF
          format.  If no files are named, standard input is read. One
          line is output per file. If several files are specified, an
          additional line is written giving totals.

          `Words' are maximal sequences of characters separated by
          blanks, tabs and newlines.

          Counts are output in the same order as the listing of the
          option letters lwceb; select lines, words, UTF characters,
          erroneously-encoded characters, and bytes, respectively.  If
          no options are given, lines, words and characters are
          counted.

     SOURCE
          /appl/cmd/wc.b

     SEE ALSO
          tr(1), utf(6)

     Page 1                       Plan 9             (printed 3/29/24)