Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Crash bug on garbage input (previously reported to Debian)
On Mon, 16 Feb 2015 11:39:23 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Feb 16, 5:04pm, Peter Stephenson wrote:
> }
> } I've add the "parse test from hell" where the first line looks like an
> } arithmetic substitution but it actually turns out to be a case statement
> } with unbalanced parentheses that needs the new parsing behaviour.
>
> There's an interesting bit of this which I don't think is actually a
> change in behavior but which might be worth noting.
>
> Interactive shell:
>
> torch% print $((case foo in
> mathsubst>
>
> If you send-break (ctrl+c) at this point, the input is entirely discarded
> and can't be recalled with up-line-or-history.
I'm not getting this now. If I abort here, I can recall the line above,
though anything I type on that second line gets discarded (which I think
is standard).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author