On 9/17/23 07:45, Genes Lists wrote:
- what else needs to be done to allow us to update to 5.2
Thoughts?
Hmm,
This could be bad, or I'm reading it wrong, but
https://github.com/bminor/bash/blob/ec8113b9861375e4e17b3307372569d429dec814/COMPAT#L44
says "The 'list' that composes the body of the group command must be
terminated by a newline or semicolon." (as it has been for a long while) and
then gives the example:
This is also an issue for commands like this:
mkdir dir || { echo 'could not mkdir' ; exit 1; }
That command is fine from the quote standpoint. The terminating ';' *is*
the last character before the reserved word closing '}'. So is the description
wrong, or is the "This is also an issue for commands like this:" simply a
misstatement because the closing ';' eliminates the "issue"?
--
David C. Rankin, J.D.,P.E.