On 2/28/21 12:38 PM, Mike Jonkmans wrote:

The manual page says:
        If the function reserved word is used, but the parentheses are not 
supplied,
        the braces are required.

That text has been there since the earliest versions of the man page. It's
not strictly true any more, but it's a reasonable guideline. Maybe I'll
change the language to a recommendation.

But it seems that from all the compound commands,
only a subshell is not possible.

Subshells work fine in the current version of bash.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to