aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-11-07 18:06:55 +0100
committerAlejandro Colomar <alx@kernel.org>2025-10-29 21:29:27 +0100
commit6f637ebfc3730f9e91e0786afeade17b36ac4bcd (patch)
treee652521fc0407ea1057780424fc39c77be980de3
parent1ae8d21a040bf9b89c60f3943496c4b8e9ad482b (diff)
downloadman-pages-6f637ebfc3730f9e91e0786afeade17b36ac4bcd.tar.gz
bin/grepc: bugfix: Pass options to grep(1) correctly
Fixes: 92dca8e97bfa ("bin/grepc: srcfix (Variables for options hold their '-')") Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rwxr-xr-xbin/grepc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/grepc b/bin/grepc
index 592306df13..dd613e0a1a 100755
--- a/bin/grepc
+++ b/bin/grepc
@@ -233,7 +233,7 @@ if test -z "$*"; then
else
find "$@" -type f \
| if test -z "$c"; then
- xargs grep -${i}lPI -- "$identifier";
+ xargs grep -lPI $i -- "$identifier";
else
cat;
fi \