On Sun, Feb 28, 2021 at 05:06:37PM -0500, Chet Ramey wrote:
> 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.

I think deleting
        , with one exception: If the function reserved word is used,
        but the parentheses are not supplied, the braces are required
would suffice.

> > But it seems that from all the compound commands,
> > only a subshell is not possible.
> 
> Subshells work fine in the current version of bash.

Nice! Thanks, also to the others to point that out.
I did not see that in the changelog (master-branch) though.
But the 'culprit' is clear from the next post ;)


Regards, Mike Jonkmans

Reply via email to