home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d179 / unixutil.lha / UnixUtil / Wc.doc < prev    next >
Text File  |  1989-02-25  |  1KB  |  44 lines

  1. WC                USER COMMANDS            WC
  2.  
  3.  
  4.  
  5. NAME
  6.     wc - word count
  7.  
  8. SYNOPSIS
  9.     wc [ -lwc ] [ filename ... ]
  10.  
  11. DESCRIPTION
  12.     wc counts lines, words, and characters in filenames, or in
  13.     the  standard input if no filename appears.  It also keeps a
  14.     total count for all named files.  A  word  is  a  string  of
  15.     characters delimited by spaces, tabs, or newlines.
  16.  
  17. OPTIONS
  18.     -l    Count lines.
  19.  
  20.     -w    Count words.
  21.  
  22.     -c    Count characters.
  23.  
  24.     The default is -lwc (count lines, words, and characters).
  25.  
  26.     When files are specified on the command  line,  their  names
  27.     will be printed along with the counts.
  28.  
  29. EXAMPLE
  30.     ami% wc *.doc
  31.           25       92      711 detab.doc
  32.           29      103      772 entab.doc
  33.           41      157      959 head.doc
  34.           31      114      745 tail.doc
  35.           17       72      472 tee.doc
  36.           27      120      771 trunc.doc
  37.           43      146     1017 wc.doc
  38.          213      804     5447 total
  39.     ami%
  40.  
  41. BUGS
  42.     The word count  may be incorrect for files  produced by some
  43.     word processors.
  44.