Austin Group Defect Tracker

Aardvark Mark III


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000056 [1003.1(2008)/Issue 7] Shell and Utilities Objection Error 2009-06-25 15:07 2009-10-09 16:28
Reporter Don Cragun View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Interpretation Required  
Name Don Cragun
Organization Self
User Reference
Section cal
Page Number 2499
Line Number 79981
Interp Status Approved
Final Accepted Text Note: 0000254
Summary 0000056: cal defaults are incorrectly stated
Description The description of the operands is confusing and incorrect in the case
when only one operand is given on the cal command line.

If one operand (year) is given, the output should be a 12 month calendar
for the given year. But, the current description says that the output
shold be a one month calendar for the current date's month in the
specified year.

If no operands are given on the cal command line, the output should be a
calendar for the current month in the current year. This is as
specified in the operands section.

If both operands are given, the output should be a one month calendar
for the given month in the given year. Since there are no defaults in
this case, this is correct as well.
Desired Action Since we are requesting a change to the description of the way
implementations are required to act, this aardvark request should be
sent down the interpretations track (with code phrases Standard is
clear, Standard is wrong, concerns have been forwarded to the sponsor).

Suggested wording for the next technical corrigenda or revision:
Add a new paragraph to the DESCRIPTION of cal after P2499, L79975:
    If no operands are given, cal shall produce a one month calendar
    for the current month in the current year. If only the year
    operand is given, cal shall produce a calendar for all twelve
    months in the given calendar year. If both month and year
    operands are given, cal shall produce a one month calendar for
    the given month in the given year.

Delete:
    The default shall be the current month.
from P2499, L79981.

Delete:
    The default shall be the current year.
from P2499, L79983.

Change:
    None.
in the RATIONALE on P2500, L80028 to:
    Earlier versions of this standard incorrectly required that the
    command:
        cal 2000
    write a one month calendar for the current calendar month (no
    matter what the current year is) in the year 2000 to standard
    output. This did not match historic practice in any known
    version of the cal utility. The description has been updated to
    match historic practice. When only the year operand is given,
    cal writes a twelve month calendar for the specified year.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000097)
Don Cragun (manager)
2009-06-25 15:13
edited on: 2009-06-26 06:23

Originally reported by dcragun:xxxxxxxxx
Tue, 9 Jun 2009 01:29:01 +0100 (BST)
with Subject: Defect in XCU cal

Transcribed by Don Cragun from xcubug3.txt ERN 11

Submitter tag "dwc-cal"

(0000254)
ajosey (manager)
2009-10-09 16:27
edited on: 2009-10-09 16:27

Interpretation response
------------------------
The standard states the requirements for the defaults for cal,
and conforming implementations must conform to this. However, concerns
have been raised about this which are being referred to the sponsor.

Rationale:
-------------
None.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------
Make the change suggested by the submitter


- Issue History
Date Modified Username Field Change
2009-06-25 15:07 Don Cragun New Issue
2009-06-25 15:07 Don Cragun Status New => Under Review
2009-06-25 15:07 Don Cragun Assigned To => ajosey
2009-06-25 15:07 Don Cragun Name => Don Cragun
2009-06-25 15:07 Don Cragun Section => cak
2009-06-25 15:07 Don Cragun Page Number => 2499
2009-06-25 15:07 Don Cragun Line Number => 79981
2009-06-25 15:13 Don Cragun Note Added: 0000097
2009-06-25 15:13 Don Cragun Status Under Review => Interpretation Required
2009-06-25 15:13 Don Cragun Resolution Open => Accepted
2009-06-25 15:13 Don Cragun Section cak => cal
2009-06-25 16:38 Don Cragun Tag Attached: real bug in aardvark
2009-06-26 06:23 Don Cragun Note Edited: 0000097
2009-07-01 15:18 Don Cragun Organization => Self
2009-07-30 16:12 Don Cragun Tag Detached: real bug in aardvark
2009-08-11 16:26 Don Cragun Interp Status => Pending
2009-09-17 15:41 nick Interp Status Pending => Proposed
2009-10-09 16:27 ajosey Note Added: 0000254
2009-10-09 16:27 ajosey Note Edited: 0000254
2009-10-09 16:28 ajosey Interp Status Proposed => Approved
2009-10-09 16:28 ajosey Final Accepted Text => Note: 0000254


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