tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: set -e oddity



    Date:        Sat, 24 Jan 2026 19:24:16 +0100
    From:        Edgar Fu� <ef%math.uni-bonn.de@localhost>
    Message-ID:  <aXUOUKy/SBh+6UrD%trav.math.uni-bonn.de@localhost>

  | Is it expected behaviour that x is still 1 in the EXIT trap?

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

kre



Home | Main Index | Thread Index | Old Index