]>
Commit | Line | Data |
---|---|---|
f73dda09 JA |
1 | set +e |
2 | trap 'echo ERRTRAP' ERR | |
3 | ||
4 | false | |
5 | false | |
6 | false | |
7 | ||
8 | echo after falses | |
9 | ||
10 | if ! false; then | |
11 | echo if negation ok | |
12 | fi | |
13 | ||
14 | ! false | |
15 | echo after negation | |
16 | ||
17 | while false; do | |
18 | echo while negation ok | |
19 | done | |
20 | ||
21 | echo after while | |
22 | ||
23 | ./trap2a.sub | |
24 | ||
25 | echo $(false ; echo command substitution) |