#!/bin/csh -ef

foreach file ( *.html )
  sed 's|href="\(java\.[^"]*\)|href="http://java.sun.com/products/jdk/1.1/docs/api/\1|g' $file > tmp
  \mv tmp $file
end

