/[nn]/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

Annotation of /get-new.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations)
Mon Sep 29 09:38:54 2003 UTC (20 years, 6 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +7 -2 lines
File MIME type: application/x-sh
update full text index

1 dpavlin 1.1 #!/bin/sh
2    
3 dpavlin 1.6 dir=/home/dpavlin/nn
4    
5     cd $dir
6 dpavlin 1.1
7 dpavlin 1.2 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     out=`wget -i in-$$ -nc 2>&1 | grep saved`
9 dpavlin 1.1 rm in-$$
10 dpavlin 1.2
11     if [ ! -z "$out" ] ; then
12 dpavlin 1.4 # ./find4.pl
13 dpavlin 1.6 cd $dir/swish && swish-e -c nn.conf -S prog
14     $dir/sluzbeno/update.sh
15     cd $dir/swish && swish-e -c sluzbeno.conf -S fs
16 dpavlin 1.2 fi
17 dpavlin 1.6

  ViewVC Help
Powered by ViewVC 1.1.26