Last change
on this file since 3843 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
233 bytes
|
Rev | Line | |
---|
[3320] | 1 | # no output -- default state
|
---|
| 2 | echo ___
|
---|
| 3 | trap
|
---|
| 4 |
|
---|
| 5 | # assign some traps
|
---|
| 6 | echo ___
|
---|
| 7 | trap "a" EXIT INT USR1 USR2
|
---|
| 8 |
|
---|
| 9 | # show them all
|
---|
| 10 | echo ___
|
---|
| 11 | trap
|
---|
| 12 |
|
---|
| 13 | # clear one
|
---|
| 14 | echo ___
|
---|
| 15 | trap 0 INT
|
---|
| 16 | echo ___
|
---|
| 17 | trap
|
---|
| 18 |
|
---|
| 19 | # clear another
|
---|
| 20 | echo ___
|
---|
| 21 | trap "-" USR1
|
---|
| 22 | echo ___
|
---|
| 23 | trap
|
---|
Note:
See
TracBrowser
for help on using the repository browser.