On 6/3/24 6:57 PM, Zachary Santer wrote:
On Mon, Jun 3, 2024 at 6:16 PM Will Allan via Bug reports for the GNU Bourne Again SHell <[email protected]> wrote:
My understanding is that the readonly builtin isn't supposed to handle compound assignment syntax like the declare and local builtins do.[1][2] That it might try to anyway is likely unintended.
No, that's wrong. readonly/export are declaration utilities, and take
assignment statements as arguments.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
