#!/bin/csh -f if ( $1 != '' ) then #goto index echo getting images for $1 grep -i ${1} nameslist | tr / ' ' | awk '{print("\\ls "$1"/"$2"/"$3"/"$3".png")}' | csh -f > ${1}pngs setenv pngs `cat ${1}pngs | head -1` echo $pngs if ( ${pngs} == '' ) then echo ${1} not found exit else echo -n ${1}pngs:" " && wc -l ${1}pngs endif echo "
\"")}' | csh -f >> ${1}-more.html echo echo making MOD and RSS ~/grabHtmlHeader ${1}-more.html ; ~/insertSidebar2 ${1}-more.html mv ${1}-more.html mod && rm ${1}* && cd mod && ~/webindex.pl && ~/grabHtmlHeader index.html && \ ~/insertSidebar2 index.html && source ../makeRSS && cd ../ echo not making Indices index: # grep -i ${1} nameslist | \ # tr -s ' ' | tr -d ')' | tr -d '(' | tr -d '[' | tr -d ']' | sed s/' -'/' '/ | sed s/' -'/' '/| sed s/' -'/' '/ | tr -s ' ' | tr -d '*' | tr -d '\"' | tr -d "\'" | \ # sed s/' '/' \"'/ | sed s/^/'source makeHtmlIndex '/ | sed s/'$'/'\"'/ | csh -f else echo argument required endif