Similarly, newline+«)» gets recorded as «; )», though - somewhat
surprisingly - that's actually accepted as input.

(The Shell seems a bit haphazard in where an empty command is acceptable.
Why after «;» or «&» or «PATTERN)» but not after «{» or «(» or «|»? Yes
POSIX is, erm… idiosyncratic, but why enforce such limitations when not
doing so would simplify the grammar? What have I missed?)

-Martin

Description:
> The command string is not stored correctly in the history when multiple
> commands are chained together with '|&' on multiple lines.
>

Reply via email to