[manual index][section index]


wc - count lines, words, and characters


wc [ -lwceb ] [ file ... ]


Wc writes to standard output a tally of lines, words, and characters found in each file, assumed to be text in UTF format. If no files are named, standard input is read. One line is output per file. If several files are specified, an additional line is written giving totals.

`Words' are maximal sequences of characters separated by blanks, tabs and newlines.

Counts are output in the same order as the listing of the option letters lwceb; select lines, words, UTF characters, erroneously-encoded characters, and bytes, respectively. If no options are given, lines, words and characters are counted.




tr(1), utf(6)

WC(1 ) Rev:  Tue Mar 31 02:42:38 GMT 2015