summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-18 07:50:39 +0000
committerJim Meyering <jim@meyering.net>2003-07-18 07:50:39 +0000
commit7bb7cd570a6a6766bbe0dad9a14b825ecc92c514 (patch)
treea6635deaaec6551ec60b99f986755c6fd8e93f6f /doc/coreutils.texi
parent5a323d4063ceb55289d0ba2cecafe6e95d24095c (diff)
downloadcoreutils-7bb7cd570a6a6766bbe0dad9a14b825ecc92c514.tar.xz
(expr invocation): Exit status is 2 if the
expression is syntactically invalid, 3 if there is some other error. This change is for conformance to POSIX.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 2616c2696..0e8b19076 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -8996,7 +8996,8 @@ Exit status:
@display
0 if the expression is neither null nor 0,
1 if the expression is null or 0,
-2 for invalid expressions.
+2 if the expression is syntactically invalid,
+3 if an error occurred.
@end display
@menu