


WC(1L)                                                     WC(1L)


NNAAMMEE
       wc - print the number of bytes, words, and lines in files

SSYYNNOOPPSSIISS
       wwcc [-clw] [--bytes] [--chars] [--lines] [--words] [--help]
       [--version] [file...]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the  GNU  version  of  wwcc.   wwcc
       counts  the  number  of bytes, whitespace-separated words,
       and newlines in each given file, or the standard input  if
       none  are  given  or  when  a file named `-' is given.  It
       prints one line of counts for each file, and if  the  file
       was given as an argument, it prints the filename following
       the counts.  If more than one filename is given, wwcc prints
       a  final  line  containing the cumulative counts, with the
       filename `total'.  The counts are printed  in  the  order:
       lines, words, bytes.

       By default, wwcc prints all three counts.  Options can spec-
       ify that only certain counts be printed.  Options  do  not
       undo others previously given, so wwcc _-_-_b_y_t_e_s _-_-_w_o_r_d_s prints
       both the byte counts and the word counts.

   OOPPTTIIOONNSS
       _-_c_, _-_-_b_y_t_e_s_, _-_-_c_h_a_r_s
              Print only the byte counts.

       _-_w_, _-_-_w_o_r_d_s
              Print only the word counts.

       _-_l_, _-_-_l_i_n_e_s
              Print only the newline counts.

       _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
              tus.

       _-_-_v_e_r_s_i_o_n
              Print  version  information on standard output then
              exit.

















FSF                     GNU Text Utilities                      1


