154 |
if test -d prev ; then |
if test -d prev ; then |
155 |
#-- save previous summary: |
#-- save previous summary: |
156 |
oldS=`ls -t ${new_dir}/verification/tr_${outDir}_*/summary.txt 2> /dev/null | head -1` |
oldS=`ls -t ${new_dir}/verification/tr_${outDir}_*/summary.txt 2> /dev/null | head -1` |
157 |
if test "x$oldS" != x ; then cp -p -f $oldS prev/tr_out.$typ ; fi |
if test "x$oldS" != x ; then |
158 |
|
cat $oldS | sed '/^[YN] [YN] [YN] [YN]/ s/ \. //g' > prev/tr_out.$typ |
159 |
|
touch -r $oldS prev/tr_out.$typ |
160 |
|
fi |
161 |
if test $tt != $typ ; then |
if test $tt != $typ ; then |
162 |
oldS=`ls -t ${new_dir}/verification/rs_${outDir}_*/summary.txt 2> /dev/null | head -1` |
oldS=`ls -t ${new_dir}/verification/rs_${outDir}_*/summary.txt 2> /dev/null | head -1` |
163 |
if test "x$oldS" != x ; then cp -p -f $oldS prev/rs_out.$typ ; fi |
if test "x$oldS" != x ; then cp -p -f $oldS prev/rs_out.$typ ; fi |