NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48489



The following reply was made to PR bin/48489; it has been noted by GNATS.

From: Miwa Susumu <miwarin%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/48489
Date: Sun, 12 Oct 2014 20:19:06 +0900

 as a specification, I think that the newline of zero or more are
 present in the back of the '&&' and are allowed.
 What about?
 
 IEEE Std 1003.1, 2004 Edition - 2.10 Shell Grammar
 http://pubs.opengroup.org/onlinepubs/009604599/utilities/xcu_chap02.html#tag_02_10
 
 '&&' is AND_IF. '||' is OR_IF.
 
   :
 and_or           :                         pipeline
                  | and_or AND_IF linebreak pipeline
                  | and_or OR_IF  linebreak pipeline
   :
 linebreak        : newline_list
                  | /* empty */
 
 
 -- 
 miwarin
 


Home | Main Index | Thread Index | Old Index