View Issue Details

IDProjectCategoryView StatusLast Update
00014951003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2024-06-11 09:07
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionat
Page Number2479
Line Number79612
Interp Status---
Final Accepted Text
Summary0001495: Exit status 0 for the at utility needs rewriting
DescriptionThe exit status 0 description for the at utility has two problems:

1. It does not cover the case where "at -l" with no at_job_id operands writes no output because there are no jobs to list.

2. It implies that if two or more at_job_id operands are specified, there only needs to be one valid ID among them for the exit status to be 0.

The suggested new text for exit status 0 is rather long-winded. Depending on the outcome of bug 0001492, an acceptable alternative might be to change it to just "Successful completion".

The CONSEQUENCES OF ERRORS section also has a problem in that it refers to "the job" (singular), but with -l there can be zero or more jobs, and with -r there can be one or more jobs. The usual rule about continuing with later operands should apply for these.
Desired ActionOn page 2479 line 79612 section at, change:
The at utility successfully submitted, removed, or listed a job or jobs.
to:
Neither the -l option nor the -r option was specified and a job was successfully submitted; or, the -l option was specified with no at_job_id operands and there were no jobs to be listed; or, the -l option was specified and all job listings were successfully output; or, the -r option was specified and all of the specified jobs were successfully removed.

On page 2479 line 79615 section at, change:
The job shall not be scheduled, removed, or listed.
to:
If neither the -l option nor the -r option was specified, the job shall not be scheduled. Otherwise, the default actions specified in [xref to 1.4 Utility Description Defaults] apply.

Tagstc3-2008

Relationships

related to 0001492 Closed clarify what "successful completion" means in EXIT STATUS 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-07-30 15:24 geoffclare New Issue
2021-07-30 15:24 geoffclare Name => Geoff Clare
2021-07-30 15:24 geoffclare Organization => The Open Group
2021-07-30 15:24 geoffclare Section => at
2021-07-30 15:24 geoffclare Page Number => 2479
2021-07-30 15:24 geoffclare Line Number => 79612
2021-07-30 15:24 geoffclare Interp Status => ---
2021-07-30 15:25 geoffclare Relationship added related to 0001492
2021-12-02 16:08 Don Cragun Status New => Resolved
2021-12-02 16:08 Don Cragun Resolution Open => Accepted
2021-12-02 16:09 Don Cragun Tag Attached: tc3-2008
2022-01-06 10:32 geoffclare Status Resolved => Applied
2024-06-11 09:07 agadmin Status Applied => Closed