#!/bin/sh head=EXAMPLE_Index_head.html file=roothtml/EXAMPLE_Index.html tail=EXAMPLE_Index_tail.html def="Example Macro" # cp $head $file for i in roothtml/examples/*.html ; do title=`grep "// Title:" $i | sed -e 's/.*\/\/ Title: *//' | sed -e 's/ *$//'` name=`basename $i` ref=`basename $i .html` string1="