Merge pull request #101194 from acowley/aspellDicts
aspellDicts: force grep to treat dictionaries as text files
This commit is contained in:
commit
a2f9d7c2f3
@ -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