#!/bin/sh temp=/tmp/tempFiles$$ echo Creating page for Standard-Size Buttons. Will be slow... rm index.html >/dev/null 2>&1 cp ../htmlBeginning index.html echo "

These files are in the buttons subdirectory

" >>index.html echo "

Standard-Size Buttons

" >>index.html echo "

" >>index.html for file in *.gif do if egrep "^$file\$" $temp >/dev/null 2>&1 then : else echo "

" >>index.html echo ">index.html echo " ALT=\"\"> buttons/$file" >>index.html echo $file >>$temp fi done cat ../htmlEnding >>index.html chmod 666 index.html rm $temp echo Done.