On Tue, Feb 16, 2021 at 8:34 AM Koichi Murase <[email protected]>
wrote:

> Because the ending keywords---}, fi, done, and esac---are allowed to
> be chained, which I think is undocumented though.
>
> $ { { { { { echo "Something like this is allowed"; } } } } }
>

Huh. So a compound list consisting of a single compound command and no
separator is still a valid compound list.

    $ if (:) then (:) fi
    $

I had no idea.


>
> --
> Koichi
>

Reply via email to