aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grep/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/grep/main.c')
-rw-r--r--src/cmd/grep/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/grep/main.c b/src/cmd/grep/main.c
index 004d1b72..e32f89a5 100644
--- a/src/cmd/grep/main.c
+++ b/src/cmd/grep/main.c
@@ -21,6 +21,9 @@ main(int argc, char *argv[])
flags[ARGC()]++;
break;
+ case 'E': /* ignore, turns gnu grep into egrep */
+ break;
+
case 'e':
flags['e']++;
lineno = 0;