/[MITgcm]/MITgcm_contrib/test_scripts/faulks/make_summary
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/faulks/make_summary

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by edhill, Fri Nov 28 20:28:43 2003 UTC revision 1.2 by edhill, Fri Dec 5 15:14:49 2003 UTC
# Line 216  for mname in $MACHINES ; do Line 216  for mname in $MACHINES ; do
216              eval $comm              eval $comm
217              OPTFILE=${OPTFILE##*/}              OPTFILE=${OPTFILE##*/}
218          fi          fi
219            if test "x$OPTFILE" = x ; then
220                comm=`grep '^# OPTFILE=' $dir/*/Makefile | head -1 | sed -e 's|^# ||'`
221                eval $comm
222                OPTFILE=${OPTFILE##*/}
223            fi
224            if test "x$OPTFILE" = x ; then
225                OPTFILE=none
226            fi
227          DAY=`echo $i | sed -e 's|_|\n|g' | awk '(length($1)==8 && substr($1,0,3)=="200")'`          DAY=`echo $i | sed -e 's|_|\n|g' | awk '(length($1)==8 && substr($1,0,3)=="200")'`
228          echo "$OPTFILE $DAY $i" >> ./mlist          echo "$OPTFILE $DAY $i" >> ./mlist
229    
230      done      done
231    
232        # helpful for debugging
233        # cat ./mlist
234    
235      #  Do we have any data?  If so, create the latest pointer.      #  Do we have any data?  If so, create the latest pointer.
236      num=`wc -l ./mlist | awk '{print $1}'`      num=`wc -l ./mlist | awk '{print $1}'`
237      if test $num -gt 0 ; then      if test $num -gt 0 ; then

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22