diff options
author | Eric Andersen | 2001-10-31 10:02:46 +0000 |
---|---|---|
committer | Eric Andersen | 2001-10-31 10:02:46 +0000 |
commit | ccd96f1972b4f660a37f6b681743f5c1511e7a38 (patch) | |
tree | 34932e11cd32f4293fc3bdd9b8872b5a9a8c4f41 | |
parent | 3d61b10595a101ec60926728c9d1988a2db6db59 (diff) | |
download | busybox-ccd96f1972b4f660a37f6b681743f5c1511e7a38.zip busybox-ccd96f1972b4f660a37f6b681743f5c1511e7a38.tar.gz |
Patch from Charles Steinkuehler <charles@steinkuehler.net>
to properly handle extended regexps for egrep
-rw-r--r-- | findutils/grep.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |