(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.
This commit is contained in:
Jim Meyering committed 2003-07-18 07:50:39 +00:00
1 parent 5a323d4063
commit 7bb7cd570a
1 file changed
+2 -1
+2 -1
View 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