2 ms·
The use of global values within programs is generally deprecated, for good reasons. The use of global values that modify the semantics of its interpreter probab
by mannykannot 10y ago
The use of global values within programs is generally deprecated, for good reasons. The use of global values that modify the semantics of its interpreter probably deserves even more skepticism.
The inheritance of these flags by subshells, which may have been written assuming different semantics, would be potentially even more problematic, so I think bash is right in this case, though arguably the inheritance could be limited to subshell code defined in the same file.