projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d61b10
)
Patch from Charles Steinkuehler <charles@steinkuehler.net>
author
Eric Andersen
<andersen@codepoet.org>
Wed, 31 Oct 2001 10:02:46 +0000
(10:02 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 31 Oct 2001 10:02:46 +0000
(10:02 -0000)
to properly handle extended regexps for egrep
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index 7cd8196fd42b9600c4a8c3d4fcafbb871bf11988..eeab1638754320bb77b614ff7a4845e2d5a2a06e 100644
(file)
--- 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 */