diff options
-rw-r--r-- | cfg.mk | 2 | ||||
-rw-r--r-- | doc/find.texi | 2 | ||||
-rw-r--r-- | init.cfg | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -232,7 +232,7 @@ sc_prohibit_test_calls_print_ver_with_irrelevant_argument: | { fail=0; \ while read file name; do \ for i in $$name; do \ - grep -w "$$i" $$file|grep -vw print_ver_|grep -q . \ + grep -w "$$i" $$file|grep -vw print_ver_|grep . >/dev/null \ || { fail=1; \ echo "*** Test: $$file, offending: $$i." 1>&2; };\ done; \ diff --git a/doc/find.texi b/doc/find.texi index 379fe646..bf70be6c 100644 --- a/doc/find.texi +++ b/doc/find.texi @@ -3050,7 +3050,7 @@ its argument is an unstripped binary file: @example #! /bin/sh -file "$1" | grep -q "not stripped" +file "$1" | grep "not stripped" >/dev/null @end example @@ -520,7 +520,7 @@ find_emits_warnings_() { # Find usually emits a warning for the deprecated -d option. find -maxdepth 0 -d -quit 2>&1 \ - | grep -q 'warning:' + | grep 'warning:' >/dev/null } # Skip the current test if "." lacks d_type support. |