1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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