mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
aspellDicts: force grep to treat dictionaries as text files
Fixes #101184
This commit is contained in:
parent
5265d49a36
commit
8db271b98f
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue