bug-bash
[Top][All Lists]
Advanced

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

Re: SHELLOPTS environment variable causes shell options to cascade


From: Martin D Kealey
Subject: Re: SHELLOPTS environment variable causes shell options to cascade
Date: Sun, 5 Jan 2025 18:59:57 +1000

On Sun, 5 Jan 2025 at 15:18, Oğuz <oguzismailuysal@gmail.com> wrote:

> This is documented in the manual:
>

In other words, it's broken by design.


> Try BASH_ENV instead:
>
> https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#index-BASH_005fENV
>

Don't forget ENV as well, for sh scripts.

-Martin


reply via email to

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