[Top][All Lists]

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

Confusing documentation of `ENV` in section "Bash variables"

From: Reuben Thomas
Subject: Confusing documentation of `ENV` in section "Bash variables"
Date: Tue, 22 Sep 2020 23:27:16 +0100

The documentation says:

     Similar to 'BASH_ENV'; used when the shell is invoked in POSIX Mode
     (*note Bash POSIX Mode::).

However, as described elsewhere in the manual, BASH_ENV is used
specifically for non-interactive shells, whereas ENV is used specifically
for interactive shells. From the quoted section above, one might get the
erroneous impression that ENV is just like BASH_ENV but for POSIX mode.

If I've not misunderstood, maybe a little more explanation in the quoted
section would be a good idea? Even just changing "invoked" to "invoked
interactively". Although that then runs the risk of implying that BASH_ENV
is also used in interactive mode. Alternatively, remove "Similar to


reply via email to

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