home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat1 / wc.0 < prev    next >
Text File  |  1993-12-07  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. WC(1L)                                                     WC(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        wc - print the number of bytes, words, and lines in files
  9.  
  10. SSYYNNOOPPSSIISS
  11.        wwcc [-clw] [--bytes] [--chars] [--lines] [--words] [--help]
  12.        [--version] [file...]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        This manual page documents the  GNU  version  of  wwcc.   wwcc
  16.        counts  the  number  of bytes, whitespace-separated words,
  17.        and newlines in each given file, or the standard input  if
  18.        none  are  given  or  when  a file named `-' is given.  It
  19.        prints one line of counts for each file, and if  the  file
  20.        was given as an argument, it prints the filename following
  21.        the counts.  If more than one filename is given, wwcc prints
  22.        a  final  line  containing the cumulative counts, with the
  23.        filename `total'.  The counts are printed  in  the  order:
  24.        lines, words, bytes.
  25.  
  26.        By default, wwcc prints all three counts.  Options can spec-
  27.        ify that only certain counts be printed.  Options  do  not
  28.        undo others previously given, so wwcc _-_-_b_y_t_e_s _-_-_w_o_r_d_s prints
  29.        both the byte counts and the word counts.
  30.  
  31.    OOPPTTIIOONNSS
  32.        _-_c_, _-_-_b_y_t_e_s_, _-_-_c_h_a_r_s
  33.               Print only the byte counts.
  34.  
  35.        _-_w_, _-_-_w_o_r_d_s
  36.               Print only the word counts.
  37.  
  38.        _-_l_, _-_-_l_i_n_e_s
  39.               Print only the newline counts.
  40.  
  41.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  42.               tus.
  43.  
  44.        _-_-_v_e_r_s_i_o_n
  45.               Print  version  information  on standard error then
  46.               exit.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU Text Utilities                      1
  65.  
  66.  
  67.