The following issue has been SUBMITTED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1075 
====================================================================== 
Reported By:                Don Cragun
Assigned To:                
====================================================================== 
Project:                    1003.1(2013)/Issue7+TC1
Issue ID:                   1075
Category:                   Shell and Utilities
Type:                       Omission
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Donald Cragun 
Organization:               Self 
User Reference:              
Section:                    2.14 Special Built-in Utilities -- unset 
Page Number:                2395 
Line Number:                76338-76355 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2016-09-08 20:08 UTC
Last Modified:              2016-09-08 20:08 UTC
====================================================================== 
Summary:                    The unset utility's NAME section mentions values and
attributes, but the DESCRIPTION doesn't mention attributes.
Description: 
The <i>unset</i> special built-in utility's NAME section is:
<blockquote>unset — unset values and attributes of variables and
functions</blockquote>
and traditional implementations of <i>unset</i> do indeed unset variables
and remove the export attribute from variables that are unset.  But the
DESCRIPTION, OPTIONS, OPERANDS, EXTENDED DESCRIPTION, APPLICATION USAGE,
EXAMPLE, and RATIONALE sections do not mention attributes.

The standard does not provide any mechanism to export a function definition
nor to make a function definition read-only, but the function definition
command rationale mentions that some shells allow functions to be exported
as an extension.
Desired Action: 
On P 2395, L76342 (1st paragraph of unset DESCRIPTION section) change:
<blockquote>Each variable or function specified by name shall be
unset.</blockquote>
to:
<blockquote>The <i>unset</i> utility shall unset each variable or function
definition specified by <i>name</i> and unset any attributes that have been
given to <i>name</i> (see section 2.14 <i>export</i> and <i>readonly</i>).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-09-08 20:08 Don Cragun     New Issue                                    
2016-09-08 20:08 Don Cragun     Name                      => Donald Cragun   
2016-09-08 20:08 Don Cragun     Organization              => Self            
2016-09-08 20:08 Don Cragun     Section                   => 2.14 Special
Built-in Utilities -- unset
2016-09-08 20:08 Don Cragun     Page Number               => 2395            
2016-09-08 20:08 Don Cragun     Line Number               => 76338-76355     
2016-09-08 20:08 Don Cragun     Interp Status             => ---             
======================================================================


Reply via email to