From: Paul Eggert Date: Wed, 12 Apr 2006 07:47:11 +0000 (+0000) Subject: (expr invocation): expr exit status is 3 only for X-Git-Tag: v6.0~506 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce1f8e6ecd6f67d16bf81774694f84dd27059ebd;p=thirdparty%2Fcoreutils.git (expr invocation): expr exit status is 3 only for internal errors now; 2 is also for invalid values in expressions. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 98a925f4c6..51de34ac4d 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-04-12 Paul Eggert + + * coreutils.texi (expr invocation): expr exit status is 3 only for + internal errors now; 2 is also for invalid values in expressions. + 2006-04-09 Ori Avtalion * coreutils.texi (Top): Add 'hostid' to System context menu line. diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 177f12e41a..a91b9e7d58 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -10277,8 +10277,8 @@ Exit status: @display 0 if the expression is neither null nor 0, 1 if the expression is null or 0, -2 if the expression is syntactically invalid, -3 if an error occurred. +2 if the expression is invalid, +3 if an internal error occurred (e.g., arithmetic overflow). @end display @menu