How to get total word count

I, forget the commands on Windows, but the “official” word counts (i.e., the ones we actually use), I get by running wc on Mac (Grepping out the comments first). If you have a Mac, open iTerm, cd over to the scenes folder, and run cat * | grep -v "\*comment" | wc -w. (Or, run wc -w *.txt for just the word count without removing the comments.)

(Edit: I think cat * | grep -v "\*" | wc -w will give you more or less without code, which is not a number we use anywhere, but some of the forum seem interested in.)

3 Likes