Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001500 |
[1003.1(2016/18)/Issue7+TC2] Shell and Utilities |
Objection |
Clarification Requested |
2021-08-06 13:00 |
2024-06-11 09:07 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Closed |
|
|
|
|
Name |
Geoff Clare |
Organization |
The Open Group |
User Reference |
|
Section |
expr |
Page Number |
2775 |
Line Number |
91106 |
Interp Status |
--- |
Final Accepted Text |
|
|
Summary |
0001500: expr EXIT STATUS needs some changes |
Description |
The expr utility has a similar problem to the one reported for diff in bug 0001498.
In addition, exit status 2 should say that it is an error (so that a diagnostic message is required).
|
Desired Action |
Change:0 The expression evaluates to neither null nor zero.
1 The expression evaluates to null or zero.
2 Invalid expression.
>2 An error occurred. to:0 The expression evaluated to neither null nor zero, and the output specified in STDOUT was successfully written to standard output.
1 The expression evaluated to null or zero, and the output specified in STDOUT was successfully written to standard output.
2 Invalid expression error.
>2 Another error occurred.
|
Tags |
tc3-2008 |
|
Attached Files |
|
|