#!/bin/rc # This script is wiser than it seems since it resolves # the first level of dependancies, based on the current # web page structure. rfork en hget http://www.9legacy.org/patch.html | grep 9legacy | grep '.diff' | sed 's/.*"(.*)".*/\1/' | sed s/9legacy\/patch\/// | sed s/'.diff'// | awk '{ if (!h[$0]) { print $0; h[$0]=1 } }' > list