chiark / gitweb /
This is useless now that I no longer have a hermes account.
[bin.git] / validate-directory
1 #! /bin/bash
2
3 set -e
4 [ "$1" ] && cd $1
5 BASE_URL=`pwd -P | sed 's|/home/httpd/users/|http://riva.ucam.org/~|'`
6 set +e
7
8 shopt -s nullglob
9 for x in *.html; do echo $BASE_URL/$x; nsgmls -s $BASE_URL/$x; done
10