busybox/shell/hush_test/hush-trap/savetrap.tests

10 lines
127 B
Plaintext
Raw Normal View History

trap 'echo Exiting' EXIT
trap 'echo WINCH!' SIGWINCH
v=` trap `
echo "$v"
v=$( trap )
echo "$v"
v=`trap`
echo "$v"
echo Done