Added script to convert documentation to indexdata.dk web style.
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 3 Mar 2000 10:18:50 +0000 (10:18 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 3 Mar 2000 10:18:50 +0000 (10:18 +0000)
doc/indexdata.sh [new file with mode: 0755]

diff --git a/doc/indexdata.sh b/doc/indexdata.sh
new file mode 100755 (executable)
index 0000000..f484dcd
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# $Id: indexdata.sh,v 1.1 2000-03-03 10:18:50 adam Exp $
+# Script to convert documentation to indexdata.dk style...
+for i in ${package}*.html; do
+       j=`basename $i html`shtml
+       sed '-es/<BODY>/<BODY BGCOLOR="#FFFFFF" TEXT="#000000"><TABLE BORDER="0" CELLSPACING="10" CELLPADDING="0"><TR><TD ALIGN="LEFT" VALIGN="TOP" ROWSPAN="2" WIDTH="100" BGCOLOR="#FFFFFF"><!--#config errmsg="No table, contact info@indexdata.dk"--><!--#include virtual="..\/buttonbar.shtml"--><\/TD><TD VALIGN="TOP">/g' '-es/<\/BODY>/<\/TD><\/TR><\/TABLE><\/BODY>/g' '-es/\(HREF=\"yaz.*\)\.html/\1.shtml/g'  < $i >$j
+done