summaryrefslogtreecommitdiffstats
path: root/bin/expr/expr.y
diff options
context:
space:
mode:
Diffstat (limited to 'bin/expr/expr.y')
-rw-r--r--bin/expr/expr.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/expr/expr.y b/bin/expr/expr.y
index 92c0e5f..c73d853 100644
--- a/bin/expr/expr.y
+++ b/bin/expr/expr.y
@@ -280,6 +280,7 @@ main(int argc, char *argv[])
setlocale (LC_ALL, "");
if (getenv("EXPR_COMPAT") != NULL) {
av = argv + 1;
+ eflag = 1;
} else {
while ((c = getopt(argc, argv, "e")) != -1)
switch (c) {
OpenPOWER on IntegriCloud