On 1/5/25 5:10 AM, Koichi Murase wrote:
I confirmed this behavior, which I think is unreasonable.$ (export SHELLOPTS; set -u; bash +u -c 'echo $unset') bash: line 1: unset: unbound variable I think an option explicitly specified in the command-line arguments should take precedence over the options specified in the environment.
Maybe, but SHELLOPTS has never behaved like that.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
