A NOTE has been added to this issue. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1123 
====================================================================== 
Reported By:                kre
Assigned To:                
====================================================================== 
Project:                    1003.1(2013)/Issue7+TC1
Issue ID:                   1123
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Robert Elz 
Organization:                
User Reference:              
Section:                    2.6 
Page Number:                2353 
Line Number:                75006-75007 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2017-03-04 07:56 UTC
Last Modified:              2018-08-06 15:06 UTC
====================================================================== 
Summary:                    Problematic specification of execution environment
for word expansions
====================================================================== 

---------------------------------------------------------------------- 
 (0004073) kre (reporter) - 2018-08-06 15:06
 http://austingroupbugs.net/view.php?id=1123#c4073 
---------------------------------------------------------------------- 
Thanks for note 4072.

Upon reflection, the proposed wording for the final paragraph is all
wrong, and more complex than it needs to be.   Instead of what I suggested
for that final paragraph, instead please consider

       If the result of an expansion from steps 1, 2, or 3 above results
       in a completely empty field, that field shall be deleted.  However
       if step 4 produces an empty field, that field shall be retained.

No need to mention quote characters at all, as empty fields are all
deleted
before the quote characters are, a field that is "" (literally) is not
empty.   Also no real need to say that filename expansion cannot make
empty fields, if it were possible, they would be deleted!

But while considering that, I also realised that line 74998

        The order of word expansion shall be as follows:

also needs work (apart from the missing plural of expansion).

So, also please consider replacing that line (74998) with:

        While not all of the following word expansions are always
        performed, those that are performed occur in the following order:

or something like it.   Eg: case patterns do not do filename expansion,
or field splitting, and subject to the resolution of another issue,
probably (hopefully) (once again) will not do quote removal either.
PSn expansions don't do them all either. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2017-03-04 07:56 kre            New Issue                                    
2017-03-04 07:56 kre            Name                      => Robert Elz      
2017-03-04 07:56 kre            Section                   => 2.6             
2017-03-04 07:56 kre            Page Number               => 2353            
2017-03-04 07:56 kre            Line Number               => 75006-75007     
2018-08-05 21:45 kre            Note Added: 0004070                          
2018-08-05 21:46 kre            Note Added: 0004071                          
2018-08-05 21:48 kre            Note Edited: 0004070                         
2018-08-05 21:49 kre            Note Edited: 0004070                         
2018-08-05 21:52 kre            Note Edited: 0004070                         
2018-08-06 11:01 geoffclare     Note Added: 0004072                          
2018-08-06 15:06 kre            Note Added: 0004073                          
======================================================================


Reply via email to