akarasulu 2004/11/01 09:10:19
Added: . add_apachecon_logo.sh
Log:
figured I would save this if needed again
Revision Changes Path
1.1 incubator-directory/add_apachecon_logo.sh
Index: add_apachecon_logo.sh
===================================================================
#!/bin/sh
for htmlfile in `find . -type f -regex '.*\.html'`; do
cat $htmlfile | sed -e 's/<\/div><div
class="clear"><hr><\/hr><\/div><\/div><div id="leftColumn"><div
id="navcolumn"><div/<\/div><div class="clear"><hr><\/hr><\/div><\/div><div
id="leftColumn"><div id="navcolumn"><a
href="http:\/\/ApacheCon.Com\/2004\/US\/"><img
src="http:\/\/ApacheCon.Com\/2004\/US\/logos\/logo_only.gif" width="170"
height="100" alt="ApacheCon!" title="Come to ApacheCon!" border="0"
\/><\/a><div/' > $htmlfile.apachecon ;
rm $htmlfile;
mv $htmlfile.apachecon $htmlfile
done;