summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-04-12 07:47:11 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-04-12 07:47:11 +0000
commitce1f8e6ecd6f67d16bf81774694f84dd27059ebd (patch)
tree98108347c655cb02ebd48aa4c7141f51f2135901 /doc/coreutils.texi
parent7e17831f0a03acc9a92dcc73ed525ab2e61e706f (diff)
downloadcoreutils-ce1f8e6ecd6f67d16bf81774694f84dd27059ebd.tar.xz
(expr invocation): expr exit status is 3 only for
internal errors now; 2 is also for invalid values in expressions.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 177f12e41..a91b9e7d5 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10277,8 +10277,8 @@ Exit status:
@display
0 if the expression is neither null nor 0,
1 if the expression is null or 0,
-2 if the expression is syntactically invalid,
-3 if an error occurred.
+2 if the expression is invalid,
+3 if an internal error occurred (e.g., arithmetic overflow).
@end display
@menu