#!/bin/sh
/v/openpkg/sw/bin/php petidomo.cgi.page.php >petidomo.cgi.page.html
sed -e '/<!-- CUT HERE -->/,$d' <petidomo.cgi.page.html >petidomo.cgi.page.head.html
sed -e '1,/<!-- CUT HERE -->/d' <petidomo.cgi.page.html >petidomo.cgi.page.foot.html
