Quick & Dirty: Character Counting

Having to hit a character limit is not the smartest rule in our educational system, but I get where it comes from. To track the process of how far along one is, I’ve created a little script that counts characters in a couple of files at once and outputs it with some percentage calculations. Nothing fancy, but I’ve used this about 200 times in the past month, so I thought I’d share it.

Check out jmh_wc on github to get the script and look at some example output:

88.00% done of chapters/I'd_rather_code_than_write.md
21327 of 24000
3500 from 5 images
2673 to go

Leave a Reply

Your email address will not be published. Required fields are marked *