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>
This commit is contained in:
Denys Vlasenko
2009-09-27 02:05:45 +02:00
parent 6c750f1518
commit e74aaf9385
6 changed files with 28 additions and 22 deletions

View File

@@ -2,13 +2,13 @@ ___
___
___
trap -- 'a' EXIT
trap -- 'a' SIGINT
trap -- 'a' SIGUSR1
trap -- 'a' SIGUSR2
trap -- 'a' INT
trap -- 'a' USR1
trap -- 'a' USR2
___
___
trap -- 'a' SIGUSR1
trap -- 'a' SIGUSR2
trap -- 'a' USR1
trap -- 'a' USR2
___
___
trap -- 'a' SIGUSR2
trap -- 'a' USR2