From 8672c12a91d5862042ba47093733ea9f82e94e0f Mon Sep 17 00:00:00 2001 From: yctct Date: Wed, 12 Nov 2025 13:41:02 +0100 Subject: Add script to invoke wcm.lua --- wcm.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 wcm.sh diff --git a/wcm.sh b/wcm.sh new file mode 100755 index 0000000..065eaec --- /dev/null +++ b/wcm.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# command to count words in a Markdown file +# does not count words that are commented out +pandoc --lua-filter=$HOME/bin/wcm/wcm.lua "$1" -- cgit v1.2.3