Searched hist:214492 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/bin/sh/tests/expansion/
H A Dplus-minus5.0214492 Thu Oct 28 20:40:20 MDT 2010 jilles 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)
/freebsd-10.1-release/bin/sh/
H A Dparser.cdiff 214492 Thu Oct 28 20:40:20 MDT 2010 jilles 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)

Completed in 123 milliseconds