[PVFS2-CVS] commit by robl in pvfs2-1/maint: pvfs2htmlfixup.sh
CVS commit program
cvs at parl.clemson.edu
Tue Jul 27 17:38:29 EDT 2004
Update of /projects/cvsroot/pvfs2-1/maint
In directory parlweb:/tmp/cvs-serv549/maint
Added Files:
pvfs2htmlfixup.sh
Log Message:
some shell hackery to automatically add what used to be added by hand. Add
comments to remind future authors to make updates in two places.
--- /dev/null 2003-01-30 05:24:37.000000000 -0500
+++ pvfs2htmlfixup.sh 2004-07-27 16:38:29.000000000 -0400
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# this is the complement to the text added to the head of all generated .html
+# through latex2html-init . I couldn't find a good way to make latex2html add
+# the closing tags and '#include virtual=...' stuff
+
+perl -p -i -e 's~</HEAD>~<!--#include virtual="style_defs.html" -->\n</HEAD>~' $@
+perl -p -i -e 's~</ADDRESS>~</ADDRESS>\n</td>\n</tr>\n</table>\n<!--#include virtual="bottom_of_page.html" -->\n</td>\n</tr>\n</table>~' $@
More information about the PVFS2-CVS
mailing list