# csh to create an index of all *.html files in this dir
echo '
My files' > myfiles.html
echo 'See current files in this directory
' >> myfiles.html
# create myfiles.html in html (wipes out old stuff)
# add info on directory
pwd >> myfiles.html
# add date and time
echo ' on ' >> myfiles.html
date >> myfiles.html
echo '
' >> myfiles.html #put in line break
# now add each file
foreach file (*.html)
echo '- '$file'' >> myfiles.html
end
# now close html file
echo '
' >> myfiles.html