]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(expr invocation): Exit status is 2 if the
authorJim Meyering <jim@meyering.net>
Fri, 18 Jul 2003 07:50:39 +0000 (07:50 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 18 Jul 2003 07:50:39 +0000 (07:50 +0000)
expression is syntactically invalid, 3 if there is some other error.
This change is for conformance to POSIX.

doc/coreutils.texi

index 2616c269684e2b05cd0f421245d0019f2d9b8cbd..0e8b19076491cc2f476953588c9fae30509af1a6 100644 (file)
@@ -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