ksh: Parse error during variable substitution
The closing quote does not appear to be registering during the parse of the following:
echo ${var:+'{}'}
Within a script, this will result in:
syntax error at line 1: `'' unmatched
This works correctly in the AST fork (Version AJM 93u+ 2012-08-01
).
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15
Unfortunately, the change does not completely fix the issue:
New patch, I think it’s fixed. Please test this.
Click to show patch