[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confusing documentation of `ENV` in section "Bash variables"
From: |
Chet Ramey |
Subject: |
Re: Confusing documentation of `ENV` in section "Bash variables" |
Date: |
Wed, 23 Sep 2020 09:24:00 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
On 9/22/20 6:27 PM, Reuben Thomas via Bug reports for the GNU Bourne Again
SHell wrote:
> The documentation says:
>
> 'ENV'
> Similar to 'BASH_ENV'; used when the shell is invoked in POSIX Mode
> (*note Bash POSIX Mode::).
Hmmm, I can see that. How about, as you suggest, something like
"Expanded and executed similarly to BASH_ENV when an interactive shell is
invoked in POSIX Mode."
The behavior is described pretty completely in the INVOCATION section.
--
``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/