summaryrefslogtreecommitdiffstats
path: root/rules/grep.in
blob: 6ddf8bdc19c14f6b9dba0e0e9f9b0415263dad54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## SECTION=shell_and_console
comment "BusyBox' grep is selected!"
	depends on BUSYBOX_GREP

menuconfig GREP
	tristate
	depends on !BUSYBOX_GREP || ALLYES
	select GCCLIBS_GCC_S
	select PCRE2 if GREP_PCRE
	prompt "grep                          "
	help
	  GNUgrep searches one or more input files for lines
	  containing a match to a specified pattern. By default, grep
	  prints the matching lines.

if GREP

config GREP_PCRE
	bool
	prompt "pcre support"
	help
	  Enable support for perl compatible regular expressions.

endif