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
commit a2f9d7c2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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