Email List: Xaustin-group-lX
[All Lists]

[1003.1(2008)/Issue 7 0000045]: Inconsistent description of list

To: austin-group-l@xxxxxxxxxxxxx
Subject: [1003.1(2008)/Issue 7 0000045]: Inconsistent description of list
From: Austin Group Bug Tracker <noreply@xxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 09:30:19 -0700
Keywords: [1003.1(2008)/Issue 7] Shell and Utilities
The following issue has been UPDATED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=45 
====================================================================== 
Reported By:                Don Cragun
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2008)/Issue 7
Issue ID:                   45
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Comment
Priority:                   normal
Status:                     Interpretation Required
Name:                       Alexey Khoroshilov 
Organization:               linuxtesting.org 
User Reference:              
Section:                    2.9.3 
Page Number:                2319 
Line Number:                73195-73196 
Final Accepted Text:        http://austingroupbugs.net/view.php?id=45#c83 
====================================================================== 
Date Submitted:             2009-06-25 11:11 MST
Last Modified:              2009-06-26 09:30 MST
====================================================================== 
Summary:                    Inconsistent description of list
Description: 
There is an inconsistency between formal definition of list in Shell
Language
 Grammar and its informal description.
 
 The informal description of a list in section 2.9.3 Lists reads:
 73195  A list is a sequence of one or more AND-OR lists separated by the
 operators ; and & and
 73196  optionally terminated by ;, &, or <newline>.
 
 
 The formal definition of a list is as follows:
 
 73526  list : list separator_op and_or
 73527       |                   and_or
 73528       ;
 ...
 73669  separator_op : &
 73670               | ;
 73671               ;
 
 This definition corresponds to the first part of the description only: "A
list
 is a sequence of one or more AND-OR lists separated by the operators ';'
and
 '&'".
Desired Action: 
 Fix the inconsistency.
 
 For example, replace 
 
     A list is a sequence of one or more AND-OR lists separated by the
     operators ; and & and optionally terminated by ;, &, or <newline>.
 
 by 
 
     A list is a sequence of one or more AND-OR lists separated by the
     operators ; and &.
====================================================================== 

---------------------------------------------------------------------- 
 (0000082) Don Cragun (manager) - 2009-06-26 06:35
 http://austingroupbugs.net/view.php?id=45#c82 
---------------------------------------------------------------------- 
Originally reported by khoroshilov:xxxxxxxxxxxxxxxx
Fri, 1 Aug 2008 06:39:28 +0100 (BST)
with Subject: Bug in XCUd5.1 2.9.3 Lists

Transcribed by Don Cragun from xcubug3.txt ERN 2

Submitter tag "LVC-S0701"

Page and Line numbers have been modified in this report to refer to the
2008 edition of the standard.

 

---------------------------------------------------------------------- 
 (0000083) Don Cragun (manager) - 2009-06-25 11:23
 http://austingroupbugs.net/view.php?id=45#c83 
---------------------------------------------------------------------- 
Send down the interps track.
The standard states the requirements for the shell grammar , and
conforming implementations must conform to this. However, concerns have
been raised about this which are being referred to the sponsor.
(Target for TC1)


Change from: (P2319, L73195-73196)
 A list is a sequence of one or more AND-OR lists separated by the
 operators ; and & and optionally terminated by ;, &, or <newline>.
 
To:
 
 A list is a sequence of one or more AND-OR lists separated by the
 operators ; and &.
 
Change from (P2319, L73201-73202)
  "A ';' or <newline> terminator shall cause the preceding AND-OR
   list to be executed sequentially; an '&' shall cause asynchronous
   execution of the preceding AND-OR list."

To:
   "A ';' separator or a ';' or <newline> terminator shall cause the
   preceding AND-OR list to be executed sequentially; an '&' separator
   or terminator shall cause asynchronous execution of the preceding
   AND-OR list."

<Prev in Thread] Current Thread [Next in Thread>