Some updates for sanity checks
This commit is contained in:
@@ -39,7 +39,8 @@ for file in $files; do
|
||||
done
|
||||
|
||||
# Case 3: Spelling errors are present
|
||||
spellerrors="$(cat "$file" | aspell -p <(echo personal_ws-1.1 en 0; cat ~/.vim/spell/en.utf-8.add) list)"
|
||||
# aspell --lang=en create master $HOME/.aspell.en.pws < $HOME/.vim/spell/en.utf-8.add
|
||||
spellerrors="$(cat "$file" | aspell -p <(echo personal_ws-1.1 en 0; cat $HOME/.vim/spell/en.utf-8.add) list)"
|
||||
if [ `echo "$spellerrors" | wc -l` -ne 1 ]; then
|
||||
echo "$file" has spelling errors.
|
||||
echo "$spellerrors"
|
||||
|
Reference in New Issue
Block a user