/[nn.old]/trunk/get-new.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/get-new.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (show annotations)
Tue Feb 5 14:51:20 2002 UTC (22 years, 2 months ago) by dpavlin
File MIME type: application/octet-stream
File size: 293 byte(s)
ako nema updte-a nista se ne ispisuje (dobro za cron)

1 #!/bin/sh
2
3 cd /home/dpavlin/nn
4
5 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-$$
6 out=`wget -i in-$$ -nc 2>&1 | grep saved`
7 rm in-$$
8
9 if [ ! -z "$out" ] ; then
10 ./find3.pl
11 fi

Properties

Name Value
cvs2svn:cvs-rev 1.2
svn:executable *
svn:mime-type application/octet-stream

  ViewVC Help
Powered by ViewVC 1.1.26