/[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.2 - (hide annotations)
Tue Feb 5 14:51:20 2002 UTC (22 years, 1 month ago) by dpavlin
Branch: MAIN
Changes since 1.1: +6 -2 lines
File MIME type: application/x-sh
ako nema updte-a nista se ne ispisuje (dobro za cron)

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

  ViewVC Help
Powered by ViewVC 1.1.26