1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-09 02:04:06 +02:00

(expr invocation): expr exit status is 3 only for

internal errors now; 2 is also for invalid values in expressions.
This commit is contained in:
Paul Eggert
2006-04-12 07:47:11 +00:00
parent 7e17831f0a
commit ce1f8e6ecd
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2006-04-12 Paul Eggert <eggert@cs.ucla.edu>
* 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 <oavtal@bezeqint.net>
* coreutils.texi (Top): Add 'hostid' to System context menu line.
+2 -2
View File
@@ -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