Andrew, congratulations on making wwwoffle that I use all day long.
That makes it the most important application on the system.  Hmmm.
Here's something that I am adding to my set that you already link to,
so no action needed on your part.

############################## -*- Mode: Sh -*- #############################
## wwwoffle-find-rerequest-candidates -- Find all the URLs that had a
## 503 WWWOFFLE Remote Host Error [Levis'503 blues] lasttime, etc. that we
## might want to rerequest.
## Copyright       : http://www.fsf.org/copyleft/gpl.html
## Author          : Dan Jacobson -- http://www.geocities.com/jidanni/
## Created On      : Fri Mar  8 05:42:23 2002
## Last Modified By: root
## Last Modified On: Fri Mar  8 06:31:59 2002
## Update Count    : 5
## Status          : look mom what I whipped up in 10 minutes
###############################################################################
dir=${1-lasttime}
cd /var/spool/wwwoffle/$dir||exit #at least root can go there, eh?
wwwoffle-ls $dir|awk '
{i++; dfile[i]=$1; durl[i]=$NF}
END{for (i in dfile){
        getline < dfile[i]; close (dfile[i])
        if ($2 == 503) {print durl[i]} #503 probably not the only one...
        }
}'|sort
#probably most of them you won't want to rerequest anyway, but for the
#ones you do you do wwwoffle -F ...
-- 
http://www.geocities.com/jidanni/ Taiwan(04)25854780

Reply via email to