On 04/03/17 06:00 AM, Martijn Dekker wrote:
yash does exactly that:
$ yash -c 'echo "Restore \"${previous?\"? (y/n)"'
yash -c:1: syntax error: the double quotation is not closed
yash -c:1: syntax error: `}' is missing
yash -c:1: syntax error: the double quotation is not closed
That is the lap of luxury. From one's first day with yash, one would
know exactly what is wrong.