Unix/Linux Go Back    

Plan 9 - man page for wc (plan9 section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

WC(1)											    WC(1)

       wc - word count

       wc [ -lwrbc ] [ file ...  ]

       Wc  counts  lines,  words,  runes,  syntactically-invalid UTF codes and bytes in the named
       files, or in the standard input if no file is named.  A word is a maximal string of  char-
       acters delimited by spaces, tabs or newlines.  The count of runes includes invalid codes.

       If  the optional argument is present, just the specified counts (lines, words, runes, bro-
       ken UTF codes or bytes) are selected by the letters l, w, r, b, or c.   Otherwise,  lines,
       words and bytes (-lwc) are reported.


       The Unicode Standard has many blank characters scattered through it, but wc looks for only
       ASCII space, tab and newline.
       Wc should have options to count suboptimal UTF codes and bytes that cannot  occur  in  any
       UTF code.

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:51 PM.