Shell script to spell check docs

This commit is contained in:
Zaid Abdulla committed 2021-02-23 13:18:40 -08:00
1 parent 02dfe4b554
commit 5b17d1b2ca
8 files changed
+186 -11

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#! /bin/sh
cd "$(dirname "$0")"
FILES=`ls ../docs/*.rst ../docs/*.js ../*.md`
for FILE in $FILES
do
echo $FILE
cat $FILE | aspell list --lang=en --add-extra-dicts=./spellcheck-dict.pws --ignore 2
echo
done