Denys Vlasenko  
		
	
	680c3016a2 
	
	
	ash: parser: Allow newlines within parameter substitution  
		
			... 
			Upstream commit:
Date: Thu, 22 Mar 2018 21:41:24 +0800
parser: Allow newlines within parameter substitution
    On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote:
    > On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote:
    > >
    > > Okay, it can be trivially modified to something that does work in other
    > > shells (even if it were actually executed), but gets rejected at parse time
    > > by dash:
    > >
    > >   if false; then
    > >     : ${$+
    > >   }
    > >   fi
    >
    > That's just a bug in dash's parser with ${} in general, because
    > it bombs out without the if clause too:
    >
    > 	: ${$+
    > 	}
    This patch fixes the parsing of newlines with parameter substitution.
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
		
	 
 
		2018-04-11 12:39:18 +02:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-11 12:39:18 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-11 12:39:18 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-26 00:30:02 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-26 00:30:02 +02:00 
		 
	
		
			
			
			
			
			
			2017-08-14 15:01:32 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 14:55:05 +02:00 
		 
	
		
			
			
			
			
			
			2018-01-13 19:28:19 +01:00 
		 
	
		
			
			
			
			
			
			2018-01-13 19:28:19 +01:00 
		 
	
		
			
			
			
			
			
			2017-07-25 15:25:07 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 15:25:07 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 15:18:57 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 15:18:57 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-26 00:07:27 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-26 00:07:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-26 15:56:53 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-26 15:56:53 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 16:29:36 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-21 13:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-21 13:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-21 13:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 16:29:36 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-25 16:29:36 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:17:15 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-07-25 03:56:00 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-06 19:50:42 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-17 17:49:11 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-17 17:49:11 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2018-04-02 13:15:37 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2018-04-02 13:15:37 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:08:04 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:08:04 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:08:04 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-02 13:15:37 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-02 13:15:37 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-02 13:15:37 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-02 13:15:37 +02:00 
		 
	
		
			
			
			
			
			
			2018-01-25 14:09:06 +01:00 
		 
	
		
			
			
			
			
			
			2018-01-25 14:09:06 +01:00 
		 
	
		
			
			
			
			
			
			2018-01-25 14:09:06 +01:00 
		 
	
		
			
			
			
			
			
			2018-01-25 14:09:06 +01:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-03 00:06:55 +02:00 
		 
	
		
			
			
			
			
			
			2018-03-31 20:31:13 +02:00 
		 
	
		
			
			
			
			
			
			2018-03-31 20:31:13 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:08:04 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 18:08:04 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 16:59:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 16:59:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 16:59:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 16:59:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 17:58:58 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 20:02:53 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 16:59:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 16:59:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 02:46:56 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-02 02:46:56 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-01 20:55:02 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-01 20:55:02 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-01 20:55:02 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-01 20:55:02 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:56:16 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:56:16 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:53:26 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:53:26 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:57:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:57:51 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 10:13:21 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:57:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-05-18 09:57:51 +02:00 
		 
	
		
			
			
			
			
			
			2016-03-22 18:19:29 -04:00 
		 
	
		
			
			
			
			
			
			2017-07-06 19:29:23 +02:00