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

10 lines
127 B
Plaintext
Raw Permalink 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