[git commit] grep: FEATURE_GREP_CONTEXT should be available for "fgrep only" too

Denys Vlasenko vda.linux at googlemail.com
Wed Apr 12 15:53:54 UTC 2017

commit: https://git.busybox.net/busybox/commit/?id=c5496d3585bcab3c39f9b10f638ba0c94f5cda3f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
 findutils/grep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/findutils/grep.c b/findutils/grep.c
index ec7605d..261e563 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -39,7 +39,7 @@
 //config:config FEATURE_GREP_CONTEXT
 //config:	bool "Enable before and after context flags (-A, -B and -C)"
 //config:	default y
-//config:	depends on GREP || EGREP
+//config:	depends on GREP || EGREP || FGREP
 //config:	help
 //config:	  Print the specified number of leading (-B) and/or trailing (-A)
 //config:	  context surrounding our matching lines.

More information about the busybox-cvs mailing list