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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to