From f60ab46047e92da7760773d4e13d6bffa455d7f3 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 25 May 2022 23:08:42 +0200 Subject: 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 --- bin/grepc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/grepc b/bin/grepc index 6c24765..3b5509e 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"; } -- cgit v1.2.3