| 70 | 
             if test "x$sUser" != x ; then | 
             if test "x$sUser" != x ; then | 
| 71 | 
                 tUser= | 
                 tUser= | 
| 72 | 
                 if test -f $dir/genmake_state ; then | 
                 if test -f $dir/genmake_state ; then | 
| 73 | 
                    nn=`sed -n '/^# executed by:/=' $dir/genmake_state` | 
                    nn=`sed -n '/^# executed by:/=' $dir/genmake_state` | 
| 74 | 
                    if test "x$nn" != x ; then | 
                    if test "x$nn" != x ; then | 
| 75 | 
                      nn=`expr $nn + 1` | 
                      nn=`expr $nn + 1` | 
| 76 | 
                      tUser=`sed -n "$nn s/^# *// p" $dir/genmake_state | sed 's/@.*$//'` | 
                      tUser=`sed -n "$nn s/^# *// p" $dir/genmake_state | sed 's/@.*$//'` | 
| 102 | 
  | 
  | 
| 103 | 
             ADJOINT= | 
             ADJOINT= | 
| 104 | 
             RESTART=0 | 
             RESTART=0 | 
| 105 | 
             NOI3E=0 | 
             FAST=0 | 
| 106 | 
  | 
             DVLP=0 | 
| 107 | 
  | 
             MPI=0 | 
| 108 | 
             MTH=0 | 
             MTH=0 | 
| 109 | 
  | 
             UR4=0 | 
| 110 | 
             if test -r $dir/summary.txt ; then | 
             if test -r $dir/summary.txt ; then | 
| 111 | 
                 comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` | 
                 comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` | 
| 112 | 
                 eval $comm | 
                 eval $comm | 
| 113 | 
                 RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` | 
                 RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` | 
| 114 | 
                 NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt` | 
                 FAST=`grep -c "^run: .*testreport.* '*-fast'*" $dir/summary.txt` | 
| 115 | 
  | 
                 if test "x$FAST" = x0 ; then | 
| 116 | 
  | 
                    FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt` | 
| 117 | 
  | 
                 fi | 
| 118 | 
  | 
                 DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt` | 
| 119 | 
  | 
                 MPI=`grep -c "^run: .*testreport.* -mpi " $dir/summary.txt` | 
| 120 | 
  | 
                 if test "x$MPI" = x0 ; then | 
| 121 | 
  | 
                    MPI=`grep -c "^run: .*testreport.* -MPI " $dir/summary.txt` | 
| 122 | 
  | 
                 fi | 
| 123 | 
                 MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt` | 
                 MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt` | 
| 124 | 
  | 
                 UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt` | 
| 125 | 
  | 
                 if test "x$UR4" = x0 ; then | 
| 126 | 
  | 
                    UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt` | 
| 127 | 
  | 
                 fi | 
| 128 | 
             fi | 
             fi | 
| 129 | 
             if test "x$RESTART" = x0 ; then | 
             if test "x$RESTART" = x0 ; then | 
| 130 | 
                 kind="forward" | 
                 kind="forward" | 
| 132 | 
             else | 
             else | 
| 133 | 
                 kind="restart" | 
                 kind="restart" | 
| 134 | 
             fi | 
             fi | 
| 135 | 
  | 
             if test "x$UR4" = x1 ; then | 
| 136 | 
  | 
                 OPTFILE="${OPTFILE}.use_r4" | 
| 137 | 
  | 
             fi | 
| 138 | 
  | 
             if test "x$MPI" = x1 ; then | 
| 139 | 
  | 
                 yy=`echo $OPTFILE | grep -c '+mpi'` | 
| 140 | 
  | 
                 if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" ; fi | 
| 141 | 
  | 
             fi | 
| 142 | 
             if test "x$MTH" = x1 ; then | 
             if test "x$MTH" = x1 ; then | 
| 143 | 
                 yy=`echo $OPTFILE | grep -c '+mth$'` | 
                 yy=`echo $OPTFILE | grep -c '+mth$'` | 
| 144 | 
                 if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi | 
                 if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi | 
| 145 | 
             fi | 
             fi | 
| 146 | 
             if test "x$NOI3E" = x1 ; then | 
             if test "x$FAST" = x1 ; then | 
| 147 | 
                 OPTFILE="${OPTFILE}.noieee" | 
                 OPTFILE="${OPTFILE}.fast" | 
| 148 | 
             fi | 
             fi | 
| 149 | 
             day=`echo $i   | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` | 
             if test "x$DVLP" = x1 ; then | 
| 150 | 
             ttt=`echo $day | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` | 
                 OPTFILE="${OPTFILE}.dvlp" | 
| 151 | 
             day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'` | 
             fi | 
| 152 | 
  | 
             day=`echo $i   | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` | 
| 153 | 
  | 
             ttt=`echo $day | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` | 
| 154 | 
  | 
             day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'` | 
| 155 | 
  | 
  | 
| 156 | 
             if [ $day -lt $BEFORE ] ; then | 
             if [ $day -lt $BEFORE ] ; then | 
| 157 | 
                 echo "$OPTFILE$kind $day $OPTFILE $kind $i" >> ./plist | 
                 echo "$OPTFILE$kind $day $OPTFILE $kind $i" >> ./plist | 
| 158 | 
             elif [ $day -ge $FIRSTDAY -a $day -le $LASTDAY ] ; then | 
             elif [ $day -ge $FIRSTDAY -a $day -le $LASTDAY ] ; then | 
| 159 | 
                 echo "$OPTFILE$kind $day $OPTFILE $kind $i" >> ./slist | 
                 echo "$OPTFILE$kind $day $OPTFILE $kind $i" >> ./slist | 
| 160 | 
             else | 
             else | 
| 161 | 
                 if test $dBug = 't' ; then | 
                 if test $dBug = 't' ; then | 
| 211 | 
  | 
  | 
| 212 | 
     case $ac_option in | 
     case $ac_option in | 
| 213 | 
          | 
          | 
| 214 | 
         -help | --help | -h | --h) | 
         -help | --help | -h | --h) usage ;; | 
| 215 | 
             usage ;; | 
         -verbose | --verbose | -v | --v) dBug=t ;; | 
 | 
         -verbose | --verbose | -v | --v) | 
  | 
 | 
             dBug=t ;; | 
  | 
| 216 | 
          | 
          | 
| 217 | 
         -list  | --list  | -l | --l) | 
         -list  | --list  | -l | --l) ac_prev=MACHINES ;; | 
| 218 | 
             ac_prev=MACHINES ;; | 
         -list=* | --list=*) MACHINES=$ac_optarg ;; | 
| 219 | 
         -list=* | --list=*) | 
  | 
| 220 | 
             MACHINES=$ac_optarg ;; | 
         -day  | --day  | -d | --d) ac_prev=FIRSTDAY ;; | 
| 221 | 
  | 
         -day=* | --day=*) FIRSTDAY=$ac_optarg ;; | 
| 222 | 
         -day  | --day  | -d | --d) | 
  | 
| 223 | 
             ac_prev=FIRSTDAY ;; | 
         -upto | --upto | -u | --u) ac_prev=LASTDAY ;; | 
| 224 | 
         -day=* | --day=*) | 
         -upto=* | --upto=*) LASTDAY=$ac_optarg ;; | 
| 225 | 
             FIRSTDAY=$ac_optarg ;; | 
  | 
| 226 | 
  | 
         -before | --before | -b | --b) ac_prev=BEFORE ;; | 
| 227 | 
         -upto | --upto | -u | --u) | 
         -before=* | --before=*) BEFORE=$ac_optarg ;; | 
| 228 | 
             ac_prev=LASTDAY ;; | 
  | 
| 229 | 
         -upto=* | --upto=*) | 
         -outp | --outp | -o | --o) ac_prev=OUTPFIL ;; | 
| 230 | 
             LASTDAY=$ac_optarg ;; | 
         -outp=* | --outp=*) OUTPFIL=$ac_optarg ;; | 
| 231 | 
  | 
  | 
| 232 | 
         -before | --before | -b | --b) | 
         -nldf | --nldf | -n | --n) ac_prev=NBLDIFF ;; | 
| 233 | 
             ac_prev=BEFORE ;; | 
         -nldf=* | --nldf=*) NBLDIFF=$ac_optarg ;; | 
| 234 | 
         -before=* | --before=*) | 
  | 
| 235 | 
             BEFORE=$ac_optarg ;; | 
         -addr | --addr | -a | --a) ac_prev=ADDRESS ;; | 
| 236 | 
  | 
         -addr=* | --addr=*) ADDRESS=$ac_optarg ;; | 
| 237 | 
         -outp | --outp | -o | --o) | 
  | 
| 238 | 
             ac_prev=OUTPFIL ;; | 
         *) echo "Error: don't understand argument \"$ac_option\"" | 
| 239 | 
         -outp=* | --outp=*) | 
            usage ;; | 
 | 
             OUTPFIL=$ac_optarg ;; | 
  | 
 | 
  | 
  | 
 | 
         -nldf | --nldf | -n | --n) | 
  | 
 | 
             ac_prev=NBLDIFF ;; | 
  | 
 | 
         -nldf=* | --nldf=*) | 
  | 
 | 
             NBLDIFF=$ac_optarg ;; | 
  | 
 | 
  | 
  | 
 | 
         -addr | --addr | -a | --a) | 
  | 
 | 
             ac_prev=ADDRESS ;; | 
  | 
 | 
         -addr=* | --addr=*) | 
  | 
 | 
             ADDRESS=$ac_optarg ;; | 
  | 
 | 
  | 
  | 
 | 
         *) | 
  | 
 | 
             echo "Error: don't understand argument \"$ac_option\"" | 
  | 
 | 
             usage | 
  | 
 | 
             ;; | 
  | 
| 240 | 
  | 
  | 
| 241 | 
      esac | 
      esac | 
| 242 | 
  | 
  | 
| 321 | 
 ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all | 
 ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all | 
| 322 | 
  | 
  | 
| 323 | 
 if test "x$MACHINES" = "x_All_" ; then | 
 if test "x$MACHINES" = "x_All_" ; then | 
| 324 | 
   MACHINES="faulks meander lagoon aces.jmc aces.ce107 dickens danton beagle harbor" | 
   MACHINES="faulks meander aces- acesgrid baudelaire dickens danton beagle harbor" | 
| 325 | 
   MACHINES="$MACHINES columbia pleiades iblade rays solssrv solasrv sx8" | 
   MACHINES="$MACHINES pleiades iblade rays solasrv sx8" | 
| 326 | 
   MACHINES="$MACHINES trane dodongo dokdo bigred" | 
   MACHINES="$MACHINES trane dodongo dokdo stomp bigred" | 
| 327 | 
  | 
  | 
| 328 | 
   MALL=`cat ./dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq` | 
   MALL=`cat ./dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq` | 
| 329 | 
   for madd in $MALL ; do | 
   for madd in $MALL ; do | 
| 330 | 
     present=0 | 
     present=0 | 
| 331 | 
     for m in $MACHINES ; do | 
     for m in $MACHINES ; do | 
| 332 | 
         mm=`echo $m | sed 's/\./ /g' | awk '{print $1}'` | 
         mm=`echo $m | sed 's/\./ /g' | awk '{print $1}'` | 
| 333 | 
         echo $madd | grep $mm > /dev/null 2>&1 | 
         echo $madd | grep $mm > /dev/null 2>&1 | 
| 334 | 
         RETVAL=$? | 
         RETVAL=$? | 
| 335 | 
         test $RETVAL = 0  &&  present=1 | 
         test $RETVAL = 0  &&  present=1 | 
| 336 | 
         continue | 
         continue | 
| 337 | 
     done | 
     done | 
| 338 | 
     test $present = 0  &&  MACHINES="$MACHINES $madd" | 
     test $present = 0  &&  MACHINES="$MACHINES $madd" | 
| 339 | 
   done | 
   done | 
| 342 | 
  | 
  | 
| 343 | 
 for pname in $MACHINES ; do | 
 for pname in $MACHINES ; do | 
| 344 | 
  | 
  | 
| 345 | 
  | 
     sname=`echo $pname | sed 's/-$//'` | 
| 346 | 
     mname=`echo $pname | sed 's/\./ /g' | awk '{print $1}'` | 
     mname=`echo $pname | sed 's/\./ /g' | awk '{print $1}'` | 
| 347 | 
     sUser= | 
     sUser= | 
| 348 | 
     if test $mname != $pname ; then | 
     if test $mname != $pname ; then | 
| 371 | 
         for key in $keys ; do | 
         for key in $keys ; do | 
| 372 | 
           ctot=`expr $ctot + 1` | 
           ctot=`expr $ctot + 1` | 
| 373 | 
           sline=`grep "^$key " ./slist | head -1` | 
           sline=`grep "^$key " ./slist | head -1` | 
| 374 | 
           sdir=`echo $sline | cut -d " " -f 5` | 
           sdir=`echo $sline | cut -d " " -f 5` | 
| 375 | 
           type=`echo $sline | cut -d " " -f 4` | 
           type=`echo $sline | cut -d " " -f 4` | 
| 376 | 
           optf=`echo $sline | cut -d " " -f 3` | 
           optf=`echo $sline | cut -d " " -f 3` | 
| 377 | 
           num=`grep -c "^$key" ./plist` | 
           num=`grep -c "^$key" ./plist` | 
| 378 | 
           if test $num = 0 -a $monthDir = 1 ; then | 
           if test $num = 0 -a $monthDir = 1 ; then | 
| 379 | 
           #- add results from previous month directory to "plist". | 
           #- add results from previous month directory to "plist". | 
| 380 | 
             monthDir=2 | 
             monthDir=2 | 
| 381 | 
             make_resdir_list | 
             make_resdir_list | 
| 382 | 
             num=`grep -c "^$key" ./plist` | 
             num=`grep -c "^$key" ./plist` | 
| 383 | 
           fi | 
           fi | 
| 384 | 
           #- discard unsafe test: | 
           #- discard unsafe test: | 
| 385 | 
           dd=`echo $optf | grep -c 'gfortran+mth'` | 
           dd=`echo $optf | grep -c 'gfortran+mth'` | 
| 386 | 
           if test $mname = 'lagoon' -a $dd = 1 ; then num=-1 ; fi | 
           if test $mname = 'lagoon' -a $dd = 1 ; then num=-1 ; fi | 
| 388 | 
           #if test $mname = 'aces' -a $optf = 'linux_ia32_open64' ; then num=-1 ; fi | 
           #if test $mname = 'aces' -a $optf = 'linux_ia32_open64' ; then num=-1 ; fi | 
| 389 | 
           #if test $mname = 'aces' -a $optf = 'linux_ia32_g95' ; then num=-1 ; fi | 
           #if test $mname = 'aces' -a $optf = 'linux_ia32_g95' ; then num=-1 ; fi | 
| 390 | 
           dd=`echo $optf | grep -c 'bigred.*noieee'` | 
           dd=`echo $optf | grep -c 'bigred.*noieee'` | 
| 391 | 
           if test $mname = 'bigred' -a $dd = 1 ; then num=-1 ; fi | 
           #if test $mname = 'bigred' -a $dd = 1 ; then num=-1 ; fi | 
| 392 | 
           if test $num -lt 0 ; then | 
           if test $num -lt 0 ; then | 
| 393 | 
             echo "  discard $sdir : $type , of='$optf'" | tee -a $OUTPFIL | 
             echo "  discard $sdir : $type , of='$optf'" | tee -a $OUTPFIL | 
| 394 | 
             cmis=`expr $cmis + 1` | 
             cmis=`expr $cmis + 1` | 
| 395 | 
           elif test $num = '0' ; then | 
           elif test $num = '0' ; then | 
| 396 | 
             echo "no previous test for:" $key | tee -a $OUTPFIL | 
             echo "no previous test for:" $key | tee -a $OUTPFIL | 
| 397 | 
             cmis=`expr $cmis + 1` | 
             cmis=`expr $cmis + 1` | 
| 398 | 
           else | 
           else | 
| 399 | 
             pline=`grep "^$key " ./plist | head -1` | 
             pline=`grep "^$key " ./plist | head -1` | 
| 400 | 
             if test $dBug = 't' ; then | 
             if test $dBug = 't' ; then | 
| 401 | 
                 echo "s='$sline'" | tee -a $OUTPFIL | 
                 echo "s='$sline'" | tee -a $OUTPFIL | 
| 402 | 
                 echo "p='$pline'" | tee -a $OUTPFIL | 
                 echo "p='$pline'" | tee -a $OUTPFIL | 
| 403 | 
             fi | 
             fi | 
| 404 | 
             pdir=`echo $pline | cut -d " " -f 5` | 
             pdir=`echo $pline | cut -d " " -f 5` | 
| 405 | 
             outs="$INDIR/$sdir/summary.txt" | 
             outs="$INDIR/$sdir/summary.txt" | 
| 406 | 
             sed -n "5,$ p" $outs | sed '/^[YN] [YN] [YN] [YN]/ s/ \. //g' \ | 
             xx=`( echo 5 ; sed -n '/^  OPTFILE=/=' $outs ) | tail -1` | 
| 407 | 
                                  | sed 's/ OPTFILE=.*\// OPTFILE=/g' \ | 
             sed "1,$xx d" $outs | sed '/^[YN] [YN] [YN] [YN]/ s/ \. //g' \ | 
| 408 | 
                                  | grep -v '^[A-S][a-t]* time:  ' > tmpfs | 
                                 | grep -v '^[A-S][a-t]* time:  ' > tmpfs | 
| 409 | 
             outp="$INDIR/$pdir/summary.txt" | 
             outp="$INDIR/$pdir/summary.txt" | 
| 410 | 
             sed -n "5,$ p" $outp | sed '/^[YN] [YN] [YN] [YN]/ s/ \. //g' \ | 
             xx=`( echo 5 ; sed -n '/^  OPTFILE=/=' $outp ) | tail -1` | 
| 411 | 
                                  | sed 's/ OPTFILE=.*\// OPTFILE=/g' \ | 
             sed "1,$xx d" $outp | sed '/^[YN] [YN] [YN] [YN]/ s/ \. //g' \ | 
| 412 | 
                                  | grep -v '^[A-S][a-t]* time:  ' > tmpfp | 
                                 | grep -v '^[A-S][a-t]* time:  ' > tmpfp | 
| 413 | 
             #-- re-order list of exp (according to local "sort" order) | 
             #-- re-order list of exp (according to local "sort" order) | 
| 414 | 
             listD=`grep '^[YN] [YN] [YN] [YN]' tmpfs | awk '{print $NF}' | sort` | 
             listD=`grep '^[YN] [YN] [YN] [YN]' tmpfs | awk '{print $NF}' | sort` | 
| 415 | 
             for xx in $listD | 
             for xx in $listD | 
| 429 | 
             diff tmpfs tmpfp > tmpdf | 
             diff tmpfs tmpfp > tmpdf | 
| 430 | 
             yy=$? | 
             yy=$? | 
| 431 | 
             if test $yy != '0' ; then | 
             if test $yy != '0' ; then | 
| 432 | 
                 echo " $type , of='$optf'" | tee -a $OUTPFIL | 
                 echo " $type , of='$optf'" | tee -a $OUTPFIL | 
| 433 | 
                 #grep '^run: ' $outp | 
                 #grep '^run: ' $outp | 
| 434 | 
                 #grep '^run: ' $outs | 
                 #grep '^run: ' $outs | 
| 435 | 
                 #-- score for each test: | 
                 #-- score for each test: | 
| 447 | 
                 ndf=`expr $ndf / 2` | 
                 ndf=`expr $ndf / 2` | 
| 448 | 
                 nn=`grep -c '^---' tmpdf` | 
                 nn=`grep -c '^---' tmpdf` | 
| 449 | 
                 ndf=`expr $ndf - $nn` | 
                 ndf=`expr $ndf - $nn` | 
| 450 | 
                 if [ $ndf -le $NBLDIFF ] ; then | 
                 if [ $ndf -le $NBLDIFF ] ; then | 
| 451 | 
                   cat tmpdf | 
                   cat tmpdf | 
| 452 | 
                 else | 
                 else | 
| 453 | 
                   echo " $ndf lines differ ( $score_s , $score_p )" | 
                   echo " $ndf lines differ ( $score_s , $score_p )" | 
| 455 | 
                 echo "< "`head -1 $outs`" ( $score_s )" >> $OUTPFIL | 
                 echo "< "`head -1 $outs`" ( $score_s )" >> $OUTPFIL | 
| 456 | 
                 echo "> "`head -1 $outp`" ( $score_p )" >> $OUTPFIL | 
                 echo "> "`head -1 $outp`" ( $score_p )" >> $OUTPFIL | 
| 457 | 
                 cat tmpdf >> $OUTPFIL | 
                 cat tmpdf >> $OUTPFIL | 
| 458 | 
                 if [ $cdif -eq 0 ] ; then | 
                 if [ $cdif -eq 0 ] ; then | 
| 459 | 
                   clin=`printf '%3i (%5s,%5s)' $ndf $score_s $score_p` | 
                   clin=`printf '%3i (%5s,%5s)' $ndf $score_s $score_p` | 
| 460 | 
                 else | 
                 else | 
| 461 | 
                   clin="$clin,"`printf '%3i (%5s,%5s)' $ndf $score_s $score_p` | 
                   clin="$clin,"`printf '%3i (%5s,%5s)' $ndf $score_s $score_p` | 
| 462 | 
                 fi | 
                 fi | 
| 463 | 
                 cdif=`expr $cdif + 1` | 
                 cdif=`expr $cdif + 1` | 
| 464 | 
                 echo '----------------------------------------' | tee -a $OUTPFIL | 
                 echo '----------------------------------------' | tee -a $OUTPFIL | 
| 465 | 
             else | 
             else | 
| 466 | 
                 echo " $type , of='$optf'" | tee -a $OUTPFIL | 
                 echo " $type , of='$optf'" | tee -a $OUTPFIL | 
| 467 | 
             fi | 
             fi | 
| 468 | 
             rm -f tmpfs tmpfp tmpdf | 
             rm -f tmpfs tmpfp tmpdf | 
| 469 | 
           fi | 
           fi | 
| 470 | 
         done | 
         done | 
| 471 | 
         if [ $cmis -gt 0 ] ; then tmis='(-'$cmis')' ; else tmis='(--)' ; fi | 
         if [ $cmis -gt 0 ] ; then tmis='(-'$cmis')' ; else tmis='(--)' ; fi | 
| 472 | 
         printf '%11s :  %3i      %4s   %3i  ' $pname $ctot $tmis $cdif >> $OUTPSUM | 
         printf '%11s :  %3i      %4s   %3i  ' $sname $ctot $tmis $cdif >> $OUTPSUM | 
| 473 | 
         if [ $cdif -gt 0 ] ; then | 
         if [ $cdif -gt 0 ] ; then | 
| 474 | 
           echo "   $clin" >> $OUTPSUM | 
           echo "   $clin" >> $OUTPSUM | 
| 475 | 
        else echo "" >> $OUTPSUM ; fi | 
         else echo "" >> $OUTPSUM ; fi | 
| 476 | 
     fi | 
     fi | 
| 477 | 
  | 
  | 
| 478 | 
 done | 
 done |