View Issue Details

IDProjectCategoryView StatusLast Update
00002681003.1(2004)/Issue 6Shell and Utilitiespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Section2.14 trap
Page Number96
Line Number3686
Interp StatusApproved
Final Accepted Text0000268:0000443
Summary0000268: trap with no arguments
Description The description of the trap special built-in utility states:

     "The trap command with no arguments shall write to standard output
     a list of commands associated with each condition."

 The use of "arguments" here is wrong, because trap is required to
 recognise "--" as a first argument to be discarded (in accordance
 with 1.11 Utility Description Defaults). It means the behaviour
 of the command "trap --" is currently unspecified, but it should be
 equivalent to just "trap".
Desired ActionChange "with no arguments" to "with no operands".
Tagstc1-2008

Relationships

duplicate of 0000053 Closedajosey 1003.1(2008)/Issue 7 trap in a subshell 
related to 0000440 Closedajosey 2008-TC1 XCU/TC1/D1/0035 redundant 

Activities

geoffclare

2010-06-25 16:24

manager   bugnote:0000438

Copied from xcubug2.txt ERN 182

geoffclare

2010-06-26 17:58

manager   bugnote:0000443

Last edited: 2010-07-01 15:14

Interpretation response
------------------------
The standard does not speak to this issue, and as such no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor.

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

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

(Target for TC1)

geoffclare

2010-06-26 18:02

manager   bugnote:0000444

Last edited: 2010-07-01 15:17

The interpretation response in 0000268:0000443 is intentionally different from the one in xcubug2.txt, which said "The standard states the requirements for trap with no arguments ..." The issue is what the standard requires for "trap --", not for trap with no arguments.

ajosey

2010-07-30 08:19

manager   bugnote:0000494

Comments/objections on the proposed interpretation are due by COB Aug 31 2010

Issue History

Date Modified Username Field Change
2010-06-25 16:23 geoffclare New Issue
2010-06-25 16:23 geoffclare Status New => Under Review
2010-06-25 16:23 geoffclare Assigned To => ajosey
2010-06-25 16:23 geoffclare Name => Geoff Clare
2010-06-25 16:23 geoffclare Organization => The Open Group
2010-06-25 16:23 geoffclare Section => 2.14 trap
2010-06-25 16:23 geoffclare Page Number => 96
2010-06-25 16:23 geoffclare Line Number => 3686
2010-06-25 16:23 geoffclare Interp Status => ---
2010-06-25 16:24 geoffclare Note Added: 0000438
2010-06-26 17:58 geoffclare Note Added: 0000443
2010-06-26 18:02 geoffclare Interp Status --- => Pending
2010-06-26 18:02 geoffclare Final Accepted Text => 0000268:0000443
2010-06-26 18:02 geoffclare Note Added: 0000444
2010-06-26 18:03 geoffclare Note Edited: 0000443
2010-07-01 15:14 geoffclare Note Edited: 0000443
2010-07-01 15:17 geoffclare Note Edited: 0000444
2010-07-01 15:17 geoffclare Status Under Review => Interpretation Required
2010-07-01 15:17 geoffclare Resolution Open => Accepted
2010-07-30 08:19 ajosey Interp Status Pending => Proposed
2010-07-30 08:19 ajosey Note Added: 0000494
2010-09-03 16:39 ajosey Interp Status Proposed => Approved
2010-09-03 20:51 Don Cragun Tag Attached: tc1-2008
2011-05-13 15:39 eblake Relationship added related to 0000440
2011-05-13 15:40 eblake Relationship added duplicate of 0000053
2013-04-16 13:06 ajosey Status Interpretation Required => Closed