#!/bin/sh temp=/tmp/tempFiles$$ echo Creating page for Bullets... rm index.html >/dev/null 2>&1 cp ../htmlBeginning index.html echo "
" >>index.html for file in *ball.gif ball*.gif do if egrep "^$file\$" $temp >/dev/null 2>&1 then : else echo "
" >>index.html
echo ">index.html
echo " ALT=\"\"> bullets/$file" >>index.html
echo $file >>$temp
fi
done
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=\"\"> bullets/$file" >>index.html
echo $file >>$temp
fi
done
cat ../htmlEnding >>index.html
chmod 666 index.html
rm $temp
echo Done.