Revision 14908
Added by Aaron Marcuse-Kubitza about 10 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
563 | 563 |
|
564 | 564 |
### signals |
565 | 565 |
|
566 |
sig_num() { kill -l "$1"; } # usage: sig_num SIG__ |
|
567 |
|
|
566 | 568 |
sig_e() { echo $(( 128+$(kill -l "$1") )); } # usage: sig_e SIGINT, etc. |
567 | 569 |
|
568 | 570 |
func_override catch__exceptions |
Also available in: Unified diff
lib/sh/util.sh: added sig_num()