diff --git a/pkgs/development/libraries/aspell/dictionaries.nix b/pkgs/development/libraries/aspell/dictionaries.nix index 32405d6a525..bc2a189a887 100644 --- a/pkgs/development/libraries/aspell/dictionaries.nix +++ b/pkgs/development/libraries/aspell/dictionaries.nix @@ -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 "$@" }