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
|
# drop comments
|
||||||
aspell-affix() {
|
aspell-affix() {
|
||||||
words-only \
|
words-only \
|
||||||
| grep -v '#' \
|
| grep -a -v '#' \
|
||||||
| aspell-create "$@"
|
| aspell-create "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Hack: drop comments and words with affixes
|
# Hack: drop comments and words with affixes
|
||||||
aspell-plain() {
|
aspell-plain() {
|
||||||
words-only \
|
words-only \
|
||||||
| grep -v '#' \
|
| grep -a -v '#' \
|
||||||
| grep -v '/' \
|
| grep -a -v '/' \
|
||||||
| aspell-create "$@"
|
| aspell-create "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user