aspellDicts: force grep to treat dictionaries as text files

Fixes #101184
This commit is contained in:
Anthony Cowley 2020-10-20 13:19:24 -04:00
parent 5265d49a36
commit 8db271b98f

View File

@ -132,15 +132,15 @@ let
# drop comments
aspell-affix() {
words-only \
| grep -v '#' \
| grep -a -v '#' \
| aspell-create "$@"
}
# Hack: drop comments and words with affixes
aspell-plain() {
words-only \
| grep -v '#' \
| grep -v '/' \
| grep -a -v '#' \
| grep -a -v '/' \
| aspell-create "$@"
}