help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why does </proc/self/environ not work in bash?


From: Chet Ramey
Subject: Re: why does </proc/self/environ not work in bash?
Date: Tue, 13 Feb 2024 09:24:59 -0500
User-agent: Mozilla Thunderbird

On 2/12/24 4:09 PM, Christoph Anton Mitterer wrote:

While I agree with you that it's considered unspecified whether or not
a shell exports such env vars to programs it executes,...

"It is unspecified whether environment variables that were passed to the invoking shell when it was invoked itself, but were not used to initialize shell variables (see Section 2.5.3) because they had invalid names, are included in the invoked utility’s environment."


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]