Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to trap EXIT like in bash
On Apr 10, 5:28pm, Peter Stephenson wrote:
} Subject: Re: How to trap EXIT like in bash
}
} > }
} > } http://www.zsh.org/mla/workers//2004/msg00460.html
} > }
} > } It seems asserted in that thread that the Bash behavior is not only not
} > } compatible with FreeBSD, but is also not POSIX compliant, which is why
} > } the default for zsh got changed.
} >
} > Hmm, except that the NEWS file and the early part of that thread claim
} > that TRAPS_ASYNC is the default for zsh because of historic behavior,
} >
} > Was this just a botch in 19858 (should have been OPT_ZSH ?) that no one
} > ever noticed?
}
} Would guess so, given the discussion, and I don't suppose we're going to
} find out after this length of time, so maybe this should be rectified.
The Yodl doc was changed to match the code, though, so perhaps given that
it has been 10+ years, the thing to do is to put a correction in the NEWS
file and leave the option defaults alone.
Clearly it doesn't make that much difference in real life, except for the
rare cases where it's critical.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author