Dan Jacobson <jidanni@deadspam.com> wrote:
> $ test a||{false;true;}&&echo $?
> bash: syntax error near unexpected token `&'
>
> no it's not, it's near "{",
I'd say it's *near* "||" and ";", and, more to the point, that it *is*
"{false". I don't know if that's how the tokenizer works, but
claiming that "{false" is a token, even if it's not, would probably be
the most useful error message.
paul