#!/bin/csh

# Create an index.html file listing all files in the current
# working directory.
# 
# Synopsis: indexfile.csh


echo '<HTML>' > index.html
echo '<BODY>' >> index.html

foreach file (*)
    if ( "$file" != "index.html") then
        echo \<A HREF=\"$file\"\>$file\</A\>\<BR\> >> index.html
   endif
end
echo '</BODY>' >> index.html
echo '</HTML>' >> index.html

