From: Alejandro Colomar Date: Wed, 25 May 2022 21:08:42 +0000 (+0200) Subject: grepc: Remove constraints in the file prefiltering X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b009c1ebd4cb754132e260d5a713ecf140e1b38f;p=thirdparty%2Fman-pages.git grepc: Remove constraints in the file prefiltering To make -tu work correctly, which doesn't have the word-boundary constraint. Signed-off-by: Alejandro Colomar --- diff --git a/bin/grepc b/bin/grepc index 6c24765d4..3b5509e60 100755 --- a/bin/grepc +++ b/bin/grepc @@ -135,7 +135,7 @@ grepc_find_files() find $FILES -type f; fi \ | grep -P -- "$ext" \ - | xargs grep -${iflag}lPI -- "$1\b"; + | xargs grep -${iflag}lPI -- "$1"; }