On Tue, 10 Jul 2007, Clint Pachl wrote:
> I wanted to know if others thought pdksh v5.2.14's behavior is incorrect when
> trapping the EXIT and ERR. I wrote four tests to demonstrate. TEST_1 fails in
> my opinion. I believe it should output the following:
> ERR
> EXIT
>
>
> # TEST_1
> trap 'echo
I wanted to know if others thought pdksh v5.2.14's behavior is incorrect
when trapping the EXIT and ERR. I wrote four tests to demonstrate.
TEST_1 fails in my opinion. I believe it should output the following:
ERR
EXIT
# TEST_1
trap 'echo EXIT' EXIT
trap 'echo ERR' ERR
set -e
cd /X 2>/dev/
2 matches
Mail list logo