hush/shell/ash_test/ash-signals/savetrap.right
Denys Vlasenko e74aaf9385 ash,hush: make trap output short signal names, without SIG prefix
function                                             old     new   delta
evalvar                                             1373    1371      -2
builtin_trap                                         457     441     -16
trapcmd                                              260     236     -24

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-27 02:05:45 +02:00

9 lines
181 B
Plaintext

trap -- 'echo Exiting' EXIT
trap -- 'echo WINCH!' WINCH
trap -- 'echo Exiting' EXIT
trap -- 'echo WINCH!' WINCH
trap -- 'echo Exiting' EXIT
trap -- 'echo WINCH!' WINCH
Done
Exiting