Fix spelling mistakes
This commit is contained in:
1
scripts/.aspell.de.pws
Normal file
1
scripts/.aspell.de.pws
Normal file
@ -0,0 +1 @@
|
||||
personal_ws-1.1 de 0
|
16
scripts/spellcheck.sh
Normal file
16
scripts/spellcheck.sh
Normal 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
|
Reference in New Issue
Block a user