Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug: TRAPEXIT not executed
- X-seq: zsh-workers 11735
- From: Bernd Eggink <eggink@xxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Bug: TRAPEXIT not executed
- Date: Sat, 3 Jun 2000 15:29:09 +0200
- Mail-followup-to: Zsh Workers <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
When the following script exits, TRAPEXIT doesn't get executed:
function TRAPEXIT
{
print BYE
}
function f
{
print f
}
f
However, if function f is *not* called, TRAPEXIT gets executed.
Regards,
Bernd
--
Bernd Eggink
Regionales Rechenzentrum der Uni Hamburg
eggink@xxxxxxxxxxxxxx
http://www.rrz.uni-hamburg.de/eggink/BEggink.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author