summaryrefslogtreecommitdiff
path: root/wcm.sh
diff options
context:
space:
mode:
authoryctct <yctct@yctct.com>2025-11-12 13:41:02 +0100
committeryctct <yctct@yctct.com>2025-11-12 13:41:02 +0100
commit8672c12a91d5862042ba47093733ea9f82e94e0f (patch)
tree6dabad9ca84d204e1c4b7d7b43da552411e0045a /wcm.sh
parent1c7856fd3aff5fd059f040262d9647f60a18e0c1 (diff)
Add script to invoke wcm.luaHEADmain
Diffstat (limited to 'wcm.sh')
-rwxr-xr-xwcm.sh4
1 files changed, 4 insertions, 0 deletions
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"