Fix spelling mistakes

This commit is contained in:
2022-01-02 02:05:14 +01:00
parent cc8d82c29d
commit 58eee6ef3f
12 changed files with 44 additions and 34 deletions

1
scripts/.aspell.de.pws Normal file
View File

@ -0,0 +1 @@
personal_ws-1.1 de 0

16
scripts/spellcheck.sh Normal file
View File

@ -0,0 +1,16 @@
if ! [ -x "$(command -v aspell)" ]; then
echo "Dieses script benötigt aspell"
exit 1;
fi
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
MD_FILES=`find "$SCRIPT_DIR/../" -name "*.md"`
ASPELL_COMMAND="aspell \
--lang=de \
--personal='$SCRIPT_DIR/.aspell.de.pws'"
for FILE in $MD_FILES
do
$ASPELL_COMMAND -c "$FILE"
done