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
0001495 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Objection Error 2021-07-30 15:24 2022-01-06 10:32
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Applied  
Name Geoff Clare
Organization The Open Group
User Reference
Section at
Page Number 2479
Line Number 79612
Interp Status ---
Final Accepted Text
Summary 0001495: Exit status 0 for the at utility needs rewriting
Description The 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 Action On 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.

Tags tc3-2008
Attached Files

- Relationships
related to 0001492Applied clarify what "successful completion" means in EXIT STATUS 

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


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