home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / textutil.lha / textutils-1.3 / cat / wc.1 < prev   
Encoding:
Text File  |  1992-09-22  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. WC(1L)            MISC. REFERENCE MANUAL PAGES             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
  28.      the byte counts and the word counts.
  29.  
  30.   OPTIONS
  31.      -_c, --_b_y_t_e_s, --_c_h_a_r_s
  32.           Print only the byte counts.
  33.  
  34.      -_w, --_w_o_r_d_s
  35.           Print only the word counts.
  36.  
  37.      -_l, --_l_i_n_e_s
  38.           Print only the newline counts.
  39.  
  40.      The long-named options can be introduced with `+' as well as
  41.      `--',  for compatibility with previous releases.  Eventually
  42.      support for `+' will be removed, because it is  incompatible
  43.      with the POSIX.2 standard.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.