X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fdmoz%2Fupdate.sh;h=0544ae26d0879dc9f3bd26798d6f3428b948f83a;hb=f3ced7d9ab3c492a9f27678cddefea291b4e3bd4;hp=f54b9f639ace3762626b460dd35c31f9e59f0b47;hpb=fdae0bb0b4e14521a82bdfb7e06a0e557444159d;p=idzebra-moved-to-github.git diff --git a/test/dmoz/update.sh b/test/dmoz/update.sh index f54b9f6..0544ae2 100755 --- a/test/dmoz/update.sh +++ b/test/dmoz/update.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: update.sh,v 1.6 2002-06-19 13:26:45 adam Exp $ +# $Id: update.sh,v 1.8 2002-06-20 08:03:30 adam Exp $ t=$1 test -n "$t" || exit 1 rm -f *.mf *.LCK *.tmp @@ -10,7 +10,15 @@ while test -f dmoz.$i.xml; do echo -n "$i " >>times-$1.log rm -f zebraidx-$t.log ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml + grep ' zebraidx times:' zebraidx-$t.log | sed 's/.*zebraidx times://g' >>times-$t.log + + test -d rtmp || mkdir rtmp + cp *.mf rtmp + rm -f *.mf + mv rtmp/*.mf . + + echo " ---------- $i ----- " >> stat-$t.log ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log i=`expr $i + 1` if test $i = 30; then @@ -18,10 +26,12 @@ while test -f dmoz.$i.xml; do fi done +title="ISAM-$t `date`" + cat >plot.dem <