#!/bin/bash
wget -qO new.html http://ftp-master.debian.org/new.html
cat new.html | egrep -A1 'class="(odd|even)"' | grep -i sid | cut -d'>' -f2 | cut -d'<' -f1 | sort > new.pkglist
diff -u old.pkglist new.pkglist
wc -l old.pkglist new.pkglist
elinks -dump new.html | grep -i 'package count' | tee -a package_count
mv new.pkglist old.pkglist
