--- mitgcm.org/scripts/check_outp 2024/01/03 00:40:41 1.58 +++ mitgcm.org/scripts/check_outp 2024/02/07 20:18:24 1.59 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.58 2024/01/03 00:40:41 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.59 2024/02/07 20:18:24 jmc Exp $ # # The purpose of this script is to compare # the latest output with the previous one (from the same platform with @@ -548,6 +548,8 @@ rm -f tmploc #-- count Nb of different lines ndf=`wc -l $TMP.dif | awk '{print $1}'` + nn=`grep -c ' generated by TAF Version ' $TMP.dif` + ndf=`expr $ndf - $nn` ndf=`expr $ndf / 2` nn=`grep -c '^---' $TMP.dif` ndf=`expr $ndf - $nn`