--- get-new.sh 2002/01/31 16:25:08 1.1.1.1 +++ get-new.sh 2003/09/09 08:19:50 1.5 @@ -2,6 +2,11 @@ cd /home/dpavlin/nn -wget -O - http://www.nn.hr/sluzbeni-list/sluzbeni/PregledB.asp?god=`date +%Y` | grep CijeliBrojS | cut -d\" -f2 | sed 's,../../,http://www.nn.hr/,' > in-$$ -wget -i in-$$ -nc +wget -O - http://www.nn.hr/sluzbeni-list/sluzbeni/PregledB.asp?god=`date +%Y` 2>/dev/null | grep CijeliBrojS | cut -d\" -f2 | sed 's,../../,http://www.nn.hr/,' > in-$$ +out=`wget -i in-$$ -nc 2>&1 | grep saved` rm in-$$ + +if [ ! -z "$out" ] ; then +# ./find4.pl + cd swish && swish-e -c nn.conf -S prog +fi