mirror of https://github.com/mirror/busybox.git
Make egrep only set REG_EXTENDED flag.
parent
8fc0589777
commit
bb0088e980
|
@ -245,7 +245,6 @@ extern int grep_main(int argc, char **argv)
|
|||
|
||||
#ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS
|
||||
if (strcmp (basename (argv[0]), "egrep") == 0)
|
||||
reflags |= REG_ICASE;
|
||||
reflags |= REG_EXTENDED;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
test x`echo foo | busybox egrep FOO` = x
|
|
@ -0,0 +1 @@
|
|||
test x`echo foo | busybox egrep fo+` = xfoo
|
Loading…
Reference in New Issue