commit | ccd96f1972b4f660a37f6b681743f5c1511e7a38 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Wed Oct 31 10:02:46 2001 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Wed Oct 31 10:02:46 2001 +0000 |
tree | 34932e11cd32f4293fc3bdd9b8872b5a9a8c4f41 | |
parent | 3d61b10595a101ec60926728c9d1988a2db6db59 [diff] |
Patch from Charles Steinkuehler <charles@steinkuehler.net> to properly handle extended regexps for egrep
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 @@ #ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS if (strcmp (basename (argv[0]), "egrep") == 0) reflags |= REG_ICASE; + reflags |= REG_EXTENDED; #endif /* do normal option parsing */