From 7bb7cd570a6a6766bbe0dad9a14b825ecc92c514 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 18 Jul 2003 07:50:39 +0000 Subject: (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. --- doc/coreutils.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3-70-g09d2