Make egrep only set REG_EXTENDED flag.

This commit is contained in:
Matt Kraai 2001-10-31 16:16:31 +00:00
parent 8fc0589777
commit bb0088e980
3 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1 @@
test x`echo foo | busybox egrep FOO` = x

View File

@ -0,0 +1 @@
test x`echo foo | busybox egrep fo+` = xfoo