From: Jim Meyering Date: Fri, 18 Jul 2003 07:50:39 +0000 (+0000) Subject: (expr invocation): Exit status is 2 if the X-Git-Tag: v5.0.90~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bb7cd570a6a6766bbe0dad9a14b825ecc92c514;p=thirdparty%2Fcoreutils.git (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. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 2616c26968..0e8b190764 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