home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / wc.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. WC(1L)                                                     WC(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      wc - print the number of bytes, words, and lines in files
  10.  
  11. SYNOPSIS
  12.      wc [-clw] [+bytes] [+chars] [+lines] [+words] [file...]
  13.  
  14. DESCRIPTION
  15.      This manual page documents the GNU version of wc.  wc counts
  16.      the number of bytes, whitespace-separated words, and new-
  17.      lines in each given file, or the standard input if none are
  18.      given or when a file named `-' is given.  It prints one line
  19.      of counts for each file, and if the file was given as an
  20.      argument, it prints the filename following the counts.  If
  21.      more than one filename is given, wc prints a final line con-
  22.      taining the cumulative counts, with the filename `total'.
  23.      The counts are printed in the order: lines, words, bytes.
  24.  
  25.      By default, wc prints all three counts.  Options can specify
  26.      that only certain counts be printed.  Options do not undo
  27.      others previously given, so wc +_✓b_✓y_✓t_✓e_✓s +_✓w_✓o_✓r_✓d_✓s prints both the
  28.      byte counts and the word counts.
  29.  
  30.      OPTIONS
  31.  
  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.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.