On 11/12/25 11:34 AM, Robert Elz wrote:
Date: Wed, 12 Nov 2025 06:35:53 -0500 From: Grisha Levit <[email protected]> Message-ID: <[email protected]>| However, if an external command is executed between the last time an | exported variable was modified and the local array is created, the | existing variable remains in the environment until the next time that | an exported variable is modified. To me that suggests that bash is trying to optimise away the cost of building the environment to be exported to exec'd commands - only building it when required (and that you have found a bug in how that is done).
Pretty close.
--
``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
