Jilles Tjoelker
6c38071288
sh: Only accept a '}' inside ${v+-=?...} if double-quote state matches.
...
If double-quote state does not match, treat the '}' literally.
This ensures double-quote state remains the same before and after a
${v+-=?...} which helps with expand.c.
It makes things like
${foo+"\${bar}"}
which I have seen in the wild work as expected.
Exp-run done by: pav (with some other sh(1) changes)
2010-10-28 22:34:49 +00:00
..
2005-08-13 15:04:30 +00:00
2005-01-10 08:39:26 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 18:41:14 +00:00
2010-04-25 20:43:19 +00:00
2009-12-24 18:41:14 +00:00
2010-04-25 20:43:19 +00:00
2006-04-02 18:43:33 +00:00
2010-10-13 22:18:03 +00:00
2010-04-17 14:35:46 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 20:55:14 +00:00
2010-10-13 22:18:03 +00:00
2009-12-27 18:04:05 +00:00
2010-10-13 22:18:03 +00:00
2010-03-06 16:57:53 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 18:41:14 +00:00
2010-10-13 23:29:09 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 18:41:14 +00:00
2010-10-16 12:40:00 +00:00
2010-06-29 22:37:45 +00:00
2010-10-13 04:01:01 +00:00
2010-10-13 22:18:03 +00:00
2009-12-25 20:21:35 +00:00
2010-10-13 23:31:17 +00:00
2010-10-13 23:29:09 +00:00
2010-10-13 23:29:09 +00:00
2010-09-08 20:35:43 +00:00
2009-12-27 18:04:05 +00:00
2009-12-27 18:04:05 +00:00
2009-08-28 22:41:25 +00:00
2010-10-24 22:25:38 +00:00
2005-01-10 08:39:26 +00:00
2010-06-02 19:16:58 +00:00
2009-12-27 18:04:05 +00:00
2010-10-13 22:18:03 +00:00
2005-01-10 08:39:26 +00:00
2010-10-13 22:18:03 +00:00
2009-12-27 18:04:05 +00:00
2010-10-13 22:18:03 +00:00
2010-01-01 18:17:46 +00:00
2010-10-28 22:34:49 +00:00
2009-12-27 18:04:05 +00:00
2010-10-24 20:09:49 +00:00
2010-10-16 14:37:56 +00:00
2010-10-13 22:18:03 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 18:41:14 +00:00
2006-04-16 11:54:01 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 20:55:14 +00:00
2010-10-13 22:18:03 +00:00
2010-06-02 19:16:58 +00:00