#!/bin/csh # set larchive = "$HOME/.www" set temparea = "$HOME/scripts" chmod 755 $larchive/$1/* echo "
" > $temparea/temp.files foreach file(`ls $larchive/$1/ | grep -v html`) if ((! -f $file ) && (! -d $file)) then echo $file echo "" >> $temparea/temp.files echo "" >> $temparea/temp.files echo "
" >> $temparea/temp.files endif end echo "" >> $temparea/temp.files mv $temparea/temp.files $larchive/$1/all.html chmod 775 $larchive/$1/all.html