From: Eric Andersen Date: Wed, 31 Oct 2001 10:02:46 +0000 (-0000) Subject: Patch from Charles Steinkuehler X-Git-Tag: 0_60_2~66 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ccd96f1972b4f660a37f6b681743f5c1511e7a38;p=oweals%2Fbusybox.git Patch from Charles Steinkuehler to properly handle extended regexps for egrep --- diff --git a/findutils/grep.c b/findutils/grep.c index 7cd8196fd..eeab16387 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -246,6 +246,7 @@ 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 /* do normal option parsing */