#!/bin/sh # # $XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/add.sh,v 1.2 2003/10/18 13:29:34 dawes Exp $ # name=`basename $1 .sgml` sgmlfmt -f index $name.sgml | \ sed -e 's,,<item><htmlurl name=",' \ -e 's,," url="'$name.html'"> ,' \ -e 's,,,' \ -e 's,,,' >> index.sgml exit 0