Wed Oct 21 11:20:17 EDT 2020/home/rj/shcov/new/./baz.sh
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
15
. ./traps.sh
  6
17
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
1214
for ((f=1 ; f<=9 ; f=f+1)) ; do
615
   echo f = $f
616
   sleep 1
617
   if [[ $f == 6 ]] ; then
318
       BARF
  19
   else
520
       n=$f
  21
   fi
  22
done
  23
024
echo leaving baz
  25