source: vendor/bash/3.1/tests/trap2.sub@ 3253

Last change on this file since 3253 was 3228, checked in by bird, 19 years ago

bash 3.1

File size: 262 bytes
RevLine 
[3228]1set +e
2trap 'echo ERRTRAP' ERR
3
4false
5false
6false
7
8echo after falses
9
10if ! false; then
11 echo if negation ok
12fi
13
14! false
15echo after negation
16
17while false; do
18 echo while negation ok
19done
20
21echo after while
22
23./trap2a.sub
24
25echo $(false ; echo command substitution)
Note: See TracBrowser for help on using the repository browser.