diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-31 10:02:46 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-31 10:02:46 +0000 |
commit | b1c3875df48611fe82d3b19c4bc9d537580ee477 (patch) | |
tree | 34932e11cd32f4293fc3bdd9b8872b5a9a8c4f41 | |
parent | b907a4b07142f5040aae0e303cd57e7a0432afab (diff) | |
download | busybox-w32-b1c3875df48611fe82d3b19c4bc9d537580ee477.tar.gz busybox-w32-b1c3875df48611fe82d3b19c4bc9d537580ee477.tar.bz2 busybox-w32-b1c3875df48611fe82d3b19c4bc9d537580ee477.zip |
Patch from Charles Steinkuehler <charles@steinkuehler.net>
to properly handle extended regexps for egrep
git-svn-id: svn://busybox.net/trunk/busybox@3608 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 7cd8196fd..eeab16387 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -246,6 +246,7 @@ extern int grep_main(int argc, char **argv) | |||
246 | #ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS | 246 | #ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS |
247 | if (strcmp (basename (argv[0]), "egrep") == 0) | 247 | if (strcmp (basename (argv[0]), "egrep") == 0) |
248 | reflags |= REG_ICASE; | 248 | reflags |= REG_ICASE; |
249 | reflags |= REG_EXTENDED; | ||
249 | #endif | 250 | #endif |
250 | 251 | ||
251 | /* do normal option parsing */ | 252 | /* do normal option parsing */ |