bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint.mk: Grep with option '-L' rather than '-vl' to output file


From: Shi Lei
Subject: [PATCH] maint.mk: Grep with option '-L' rather than '-vl' to output filename when no-match
Date: Wed, 11 Sep 2019 17:06:27 +0800

The 'non_containing' can't work.
According to mannual, I think that the option should be '-L'.

Shi Lei
---
 top/maint.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/top/maint.mk b/top/maint.mk
index 16e9360..e211480 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -315,7 +315,7 @@ define _sc_search_regexp
      || :;                                                             \
    test -n "$$files"                                                   \
      && test -n "$$non_containing"                                     \
-     && { files=$$(echo "$$files" | xargs $(GREP) -vl "$$non_containing"); } \
+     && { files=$$(echo "$$files" | xargs $(GREP) -L "$$non_containing"); } \
      || :;                                                             \
                                                                        \
    : Check for the construct;                                          \
-- 
2.17.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]