3.25. Counting Words in a File: wcI was quite interested to find out how many characters, words, and lines were in the "heart.final" file (even though printing it gave me a byte count). To do this, I used the wc utility, described in Figure 3-32.
Here's an example of wc: $ wc heart.final ...obtain a word count. 9 43 213 heart.final $ _ |