Viewing pptest.cgi

#!/bin/sh

TMPFILE=$SERVER_TMPDIR/xyzzy$$.html
POSTPROC=/www/lib/chtml-postproc

cat - <<EOS >$TMPFILE
<!--chtml include "//webinfo/incs/header.inc"-->
<HTML>
<HEAD>
<TITLE>chtml Postprocessing test</TITLE>
<LINK REF="made" HREF="mailto:<!--chtml use wmgmt-->">
<LINK REL="stylesheet" HREF="/webinfo/webinfo.css" TYPE="text/css">
</HEAD>

<BODY>
<H1>chtml Postprocessing test</H1>
<!--chtml include "//webinfo/incs/navbar.inc"-->
This file was generated on
<!--chtml date="%d-%b-%Y %I:%M%p"-->.<BR>
The cgi script was last modified on
<!--chtml date="%d-%b-%Y %I:%M%p" file="$0"-->.
<P>
<!--chtml include "//webinfo/incs/footer.inc"-->
</BODY>
</HTML>
EOS
exec $POSTPROC -r -d `pwd` -h'Shoe-size: 7D' -h 'Eyesight: myoptic' $TMPFILE