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

Diff of /get-new.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dpavlin, Tue Sep 9 08:19:50 2003 UTC revision 1.6 by dpavlin, Mon Sep 29 09:38:54 2003 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  cd /home/dpavlin/nn  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-$$  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`  out=`wget -i in-$$ -nc 2>&1 | grep saved`
# Line 8  rm in-$$ Line 10  rm in-$$
10    
11  if [ ! -z "$out" ] ; then  if [ ! -z "$out" ] ; then
12  #       ./find4.pl  #       ./find4.pl
13          cd swish && swish-e -c nn.conf -S prog          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  fi  fi
17    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26