projects
/
external
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upload Tizen:Base source
[external/bash.git]
/
tests
/
trap2.sub
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)