diff --git a/wordcount.sh b/wordcount.sh new file mode 100644 index 0000000..ef8845d --- /dev/null +++ b/wordcount.sh @@ -0,0 +1,4 @@ +# Desc: Count the number of words in all markdown files in the docs directory +# Usage: ./wordcount.sh +# Outputs: The number of words in each file and the total number of words in all files +find docs -name \*.md -type f -exec wc -w {} +