View Issue Details

IDProjectCategoryView StatusLast Update
00014991003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2024-06-11 09:07
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeClarification Requested
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Section1.4 Utility Description Defaults
Page Number2341, 2342
Line Number74553, 74558, 74561, 74563
Interp Status---
Final Accepted Text
Summary0001499: Use of "non-zero" in 1.4 under CONSEQUENCES OF ERRORS is not specific enough
DescriptionThe 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 ActionOn 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

Tagstc3-2008

Relationships

related to 0001498 Closed diff exit status when an error occurs while writing the differences 

Activities

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
2021-12-02 16:31 Don Cragun Status New => Resolved
2021-12-02 16:31 Don Cragun Resolution Open => Accepted
2021-12-02 16:31 Don Cragun Tag Attached: tc3-2008
2022-01-06 10:39 geoffclare Status Resolved => Applied
2024-06-11 09:07 agadmin Status Applied => Closed