.th WC VI 8/25/77 .sh NAME wc \*- word count .sh SYNOPSIS .bd wc [ .bd \- ] [ name ... ] .sh DESCRIPTION .it Wc counts lines, words, and characters in the named files, or in the standard input if no name appears. A word is a maximal string of printing characters delimited by spaces, tabs or newlines. All other characters are simply ignored. .s3 The optional .bd \- suppresses all the garbage for a word count only. .s3 If the file .it sentence contains .s3 .dt Now is the time for all good men to come .br to the aid of their party. .s3 on two lines then .it "wc sentence" would give .s3 2 16 68 sentence .s3 indicating that there are 2 lines, 16 words and 68 characters in sentence. Note that the counts are for successively smaller pieces of the file, although occasionally a file will have more lines than words. .sh SEE\ ALSO grep (I) .sh BUGS