Re: set -e oddity

Robert Elz <[email protected]> Sun, 25 Jan 2026 03:20:39 +0700
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
    Date:        Sat, 24 Jan 2026 19:24:16 +0100
    From:        Edgar Fu=DF  <ef=40math.uni-bonn.de>
    Message-ID:  <aXUOUKy/SBh+6UrD=40trav.math.uni-bonn.de>

  =7C Is it expected behaviour that x is still 1 in the EXIT trap?

Yes, the trap occurs from the exit caused by =22false=22 in f() in which
environment x is still set.

kre