Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001499 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Objection Clarification Requested 2021-08-06 11:17 2021-08-06 11:17
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Geoff Clare
Organization The Open Group
User Reference
Section 1.4 Utility Description Defaults
Page Number 2341, 2342
Line Number 74553, 74558, 74561, 74563
Interp Status ---
Final Accepted Text
Summary 0001499: Use of "non-zero" in 1.4 under CONSEQUENCES OF ERRORS is not specific enough
Description The CONSEQUENCES OF ERRORS subsection of 1.4 has rules that specify non-zero exit status, but this is not specific enough in the case of utilities for which there is a non-zero exit status that does not indicate an error occurred, such as diff, grep, and test.

If the utility is one for which the STDERR default rule comes into play, there is a chain of reasoning (see bug 0001498) that can be followed to deduce a more specific requirement, but it would be preferable for it to be stated directly.
Desired Action On page 2341 line 74553,74558,74561, change:
exit status returned shall be non-zero
to:
exit status returned shall be one that indicates an error occurred

On page 2342 line 74563, change:
the utility shall exit with a non-zero exit status
to:
the utility shall exit with an exit status that indicates an error occurred

Tags No tags attached.
Attached Files

- Relationships
related to 0001498New diff exit status when an error occurs while writing the differences 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-08-06 11:17 geoffclare New Issue
2021-08-06 11:17 geoffclare Name => Geoff Clare
2021-08-06 11:17 geoffclare Organization => The Open Group
2021-08-06 11:17 geoffclare Section => 1.4 Utility Description Defaults
2021-08-06 11:17 geoffclare Page Number => 2341, 2342
2021-08-06 11:17 geoffclare Line Number => 74553, 74558, 74561, 74563
2021-08-06 11:17 geoffclare Interp Status => ---
2021-08-06 11:17 geoffclare Relationship added related to 0001498


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker