From 8db271b98f7264f4d08358ade84402a56e82b294 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Tue, 20 Oct 2020 13:19:24 -0400 Subject: [PATCH] aspellDicts: force grep to treat dictionaries as text files Fixes #101184 --- pkgs/development/libraries/aspell/dictionaries.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/aspell/dictionaries.nix b/pkgs/development/libraries/aspell/dictionaries.nix index 32405d6a5251..bc2a189a887a 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 "$@" }