/[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 105 - (show annotations)
Sun Aug 3 20:26:48 2008 UTC (15 years, 7 months ago) by dpavlin
File MIME type: application/octet-stream
File size: 651 byte(s)
Unable to calculate annotation data on binary file contents.
script that drives it all

1 #!/bin/sh
2
3 dir=/home/dpavlin/nn
4
5 cd $dir
6
7 #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-$$
8 wget -O - "http://www.nn.hr/pretrazivanje/sluzbeno/pregled2.asp?godina=`date +%Y`&period=5" 2>/dev/null | grep pregled.asp | cut -d\" -f8 | sed 's#pregled.asp#http://www.nn.hr/pretrazivanje/sluzbeno/pregled.asp#g' > in-$$
9
10 out=`wget -v -i in-$$ -nc 2>&1 | grep saved`
11 rm in-$$
12
13 if [ ! -z "$out" ] ; then
14 #./find4.pl
15 cd $dir/swish && swish-e -c nn.conf -S prog
16 $dir/sluzbeno/update.sh
17 cd $dir/swish && swish-e -c sluzbeno.conf -S fs
18 fi
19

Properties

Name Value
cvs2svn:cvs-rev 1.6
svn:mime-type application/octet-stream

  ViewVC Help
Powered by ViewVC 1.1.26