On Feb 16 2021, Koichi Murase wrote:

> Because the ending keywords---}, fi, done, and esac---are allowed to
> be chained, which I think is undocumented though.

See 2.4 Reserved Words.

    This recognition shall only occur when none of the characters is
    quoted and when the word is used as:

    * The first word of a command
    * The first word following one of the reserved words other than
      case, for, or in
    * The third word in a case command (only in is valid in this case)
    * The third word in a for command (only in and do are valid in this
      case)

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to