Coverage: | 88 | % | Covered: | 8 |   | Comment Lines: | 6 | ||
Executable: | 36 | % | Not Covered: | 1 |   | Blank Lines: | 7 | ||
Comments: | 24 | % | Executable : | 9 |   | Total Lines: | 25 |
  | 1 | #!/bin/bash | |
  | 2 | ||
  | 3 | # baz.sh -- tertiary bash shell test file. | |
  | 4 | ||
1 | 5 | . ./traps.sh | |
  | 6 | ||
1 | 7 | echo entering baz PID = $$ | |
  | 8 | ||
  | 9 | #DOODY | |
  | 10 | #cat PEANUT_GALLERY | |
  | 11 | #echo HOWDY | cat - PEANUT_GALLERY | awk '{ print $0 }' - | |
  | 12 | #x=$(( 1 / $(( 1 - 1 )) )) | |
  | 13 | ||
12 | 14 | for ((f=1 ; f<=9 ; f=f+1)) ; do | |
6 | 15 | echo f = $f | |
6 | 16 | sleep 1 | |
6 | 17 | if [[ $f == 6 ]] ; then | |
3 | 18 | BARF | |
  | 19 | else | |
5 | 20 | n=$f | |
  | 21 | fi | |
  | 22 | done | |
  | 23 | ||
0 | 24 | echo leaving baz | |
  | 25 |