Merge pull request #101194 from acowley/aspellDicts

aspellDicts: force grep to treat dictionaries as text files
This commit is contained in:
Samuel Dionne-Riel
2020-10-23 00:16:05 -04:00
committed by GitHub

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 "$@"
}