source: trunk/essentials/app-shells/bash/tests/trap2.sub

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 262 bytes
Line 
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.