diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-18 07:50:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-18 07:50:39 +0000 |
commit | 7bb7cd570a6a6766bbe0dad9a14b825ecc92c514 (patch) | |
tree | a6635deaaec6551ec60b99f986755c6fd8e93f6f | |
parent | 5a323d4063ceb55289d0ba2cecafe6e95d24095c (diff) | |
download | coreutils-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.
-rw-r--r-- | doc/coreutils.texi | 3 |
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 |