Re: $() does not handle nesting with case - parser precedence?
Yeah. I noted that as workaround in the report... I figured if posix was vague on this matching other shells might be better behavior. On Jun 28, 2015 2:57 PM, "Dennis Williamson" wrote: > > > On Sat, Jun 27, 2015 at 2:48 PM, Nathan Neulinger > wrote: > >
$() does not handle nesting with case - parser precedence?
Expected output: result: saw test Actual output: parse-bug.sh: line 6: syntax error near unexpected token `;;' parse-bug.sh: line 6: ` test) echo saw test ;;' Workaround: Use (test) instead of test) in the nested code Repeat-By: Ru