aspellDicts: force grep to treat dictionaries as text files
Fixes #101184
This commit is contained in:
parent
5265d49a36
commit
8db271b98f
@ -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 "$@"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user