From ccd96f1972b4f660a37f6b681743f5c1511e7a38 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 31 Oct 2001 10:02:46 +0000 Subject: Patch from Charles Steinkuehler to properly handle extended regexps for egrep --- findutils/grep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/findutils/grep.c b/findutils/grep.c index 7cd8196..eeab163 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 */ -- cgit v1.1