summaryrefslogtreecommitdiffstats
path: root/mantools/check-spell-history
diff options
context:
space:
mode:
Diffstat (limited to 'mantools/check-spell-history')
-rwxr-xr-xmantools/check-spell-history9
1 files changed, 9 insertions, 0 deletions
diff --git a/mantools/check-spell-history b/mantools/check-spell-history
new file mode 100755
index 0000000..3119be8
--- /dev/null
+++ b/mantools/check-spell-history
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Spellchecks text in the HISTORY file, starting with 2022.
+
+LANG=C; export LANG
+
+sed '1,/^2022/d' HISTORY | spell | grep -F -vxf proto/stop | \
+ grep -F -vxf proto/stop.spell-cc | \
+ grep -F -vxf proto/stop.spell-history