aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-31 10:02:46 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-31 10:02:46 +0000
commitccd96f1972b4f660a37f6b681743f5c1511e7a38 (patch)
tree34932e11cd32f4293fc3bdd9b8872b5a9a8c4f41 /findutils
parent3d61b10595a101ec60926728c9d1988a2db6db59 (diff)
downloadbusybox-ccd96f1972b4f660a37f6b681743f5c1511e7a38.tar.gz
Patch from Charles Steinkuehler <charles@steinkuehler.net>
to properly handle extended regexps for egrep
Diffstat (limited to 'findutils')
-rw-r--r--findutils/grep.c1
1 files changed, 1 insertions, 0 deletions
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 */