export + default value parameter expansion -> broken dash parser
dash is unable to parse:
unset A; export ${A- -E}
results in:
export: 1: -E: bad variable name
-mike
Quoted 2 lines · Mike Frysinger
dash is unable to parse:
unset A; export ${A- -E}
...let alone:
$ unset A; export ${A- -p}hell is loose!
no, phew, just a mishap about the parameter
itself going poof when being expanded.