#!/bin/rc # finds out which is the last comic, then downloads missing ones from cwd, exiting # upon the first collision # it's filthy. flag e + #x=(/comics/oots0002.html) x=(`{hget http://www.giantitp.com \ | sed -n 's/Order of the Stick <\/B>$n n=`{echo $x(1) | sed 's/.*(oots[0-9]+\.)html/\1/'} }