A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1454 
====================================================================== 
Reported By:                geoffclare
Assigned To:                
====================================================================== 
Project:                    1003.1(2016/18)/Issue7+TC2
Issue ID:                   1454
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Comment
Priority:                   normal
Status:                     New
Name:                       Geoff Clare 
Organization:               The Open Group 
User Reference:              
Section:                    2.9.4.3 
Page Number:                2372 
Line Number:                75780 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2021-02-16 16:29 UTC
Last Modified:              2021-02-25 09:41 UTC
====================================================================== 
Summary:                    Conflict between "case" description and grammar
====================================================================== 

---------------------------------------------------------------------- 
 (0005252) geoffclare (manager) - 2021-02-25 09:41
 https://austingroupbugs.net/view.php?id=1454#c5252 
---------------------------------------------------------------------- 
New proposed changes based on comments made here and on the mailing list
...

On page 2372 line 74408 section 2.9.4.3, change:<blockquote>the first one
of several <i>patterns</i></blockquote>to:<blockquote>the first one of zero
or more <i>patterns</i></blockquote>
On page 2372 line 75780 section 2.9.4.3, delete the
line:<blockquote><pre><b>[</b>(<b>]</b> <i>pattern1</i> )
<i>compound-list</i> ;;</pre></blockquote>
Note to the editor: in Issue 8 draft 1.1 the line to delete has
"terminator" instead of ";;" because of the change to allow ";&".

On page 2375 line 75888 section 2.10.1, change:<blockquote>... convert the
token identifier type of the <b>TOKEN</b> to a token identifier acceptable
at that point in the grammar.</blockquote>to:<blockquote>... convert the
token identifier type of the <b>TOKEN</b> to:<ul><li>The token identifier
of the recognized reserved word, for rule 1.</li>
<li>A token identifier acceptable at that point in the grammar, for all
other rules.</li></ul></blockquote>
On page 2379,2380 line 76041,76043,76084-76134 section 2.10.2,
change:<blockquote><pre>/* Apply rule
...</pre></blockquote>to:<blockquote><pre>/* Rule ...</pre></blockquote>
On page 2379 line 76058 section 2.10.2,
change:<blockquote><pre>case_item_ns      :     pattern ')' linebreak
                  |     pattern ')' compound_list
                  | '(' pattern ')' linebreak
                  | '(' pattern ')' compound_list
                  ;
case_item         :     pattern ')' linebreak     DSEMI linebreak
                  |     pattern ')' compound_list DSEMI linebreak
                  | '(' pattern ')' linebreak     DSEMI linebreak
                  | '(' pattern ')' compound_list DSEMI linebreak
                  ;
pattern           :             WORD      /* Apply rule 4 */
                  | pattern '|' WORD      /* Do not apply rule 4
*/</pre></blockquote>to:<blockquote><pre>case_item_ns      : pattern_list
')' linebreak
                  | pattern_list ')' compound_list
                  ;
case_item         : pattern_list ')' linebreak     DSEMI linebreak
                  | pattern_list ')' compound_list DSEMI linebreak
                  ;
pattern_list      :                  WORD /* Rule 4 */
                  |              '(' WORD /* Do not apply rule 4 */
                  | pattern_list '|' WORD /* Do not apply rule 4 */
                  ;</pre></blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2021-02-16 16:29 geoffclare     New Issue                                    
2021-02-16 16:29 geoffclare     Name                      => Geoff Clare     
2021-02-16 16:29 geoffclare     Organization              => The Open Group  
2021-02-16 16:29 geoffclare     Section                   => 2.9.4.3         
2021-02-16 16:29 geoffclare     Page Number               => 2372            
2021-02-16 16:29 geoffclare     Line Number               => 75780           
2021-02-16 16:29 geoffclare     Interp Status             => ---             
2021-02-16 20:44 kre            Note Added: 0005241                          
2021-02-16 20:55 kre            Note Added: 0005242                          
2021-02-16 21:02 kre            Note Edited: 0005242                         
2021-02-17 10:07 geoffclare     Note Added: 0005243                          
2021-02-17 13:18 kre            Note Added: 0005244                          
2021-02-17 14:26 geoffclare     Note Added: 0005245                          
2021-02-18 10:32 kre            Note Added: 0005246                          
2021-02-25 09:41 geoffclare     Note Added: 0005252                          
======================================================================


              • ... Harald van Dijk via austin-group-l at The Open Group
            • ... Robert Elz via austin-group-l at The Open Group
              • ... Joerg Schilling via austin-group-l at The Open Group
            • ... Chet Ramey via austin-group-l at The Open Group
            • ... Robert Elz via austin-group-l at The Open Group
              • ... Chet Ramey via austin-group-l at The Open Group
            • ... Joerg Schilling via austin-group-l at The Open Group
            • ... Robert Elz via austin-group-l at The Open Group
          • ... Robert Elz via austin-group-l at The Open Group
  • Re: [1003.1(... shwaresyst via austin-group-l at The Open Group
  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to