Hello,
I'd like to ask about an odd behaviour relating to the SHELLOPTS environment
variable. This is present in version 5.2.37(1)-release and in the development
version.
In this case, the `nounset` option is only applied to the current shell and not
to nested bash invocations:
> set -o nounse
On Saturday, January 4, 2025, Tobi Laskowski wrote:
>
> On the other hand, if there is a pre-existing SHELLOPTS environment
> variable (set outside the current shell), then the `nounset` option applies
> to all invocations of bash within the current shell.
This is documented in the manual:
> A