#!/bin/bash OGLOGCOMMAND=${OGLOGCOMMAND:-"/tmp/command.log"} OGLOGCOMMANDTMP=$OGLOGCOMMAND.tmp echo "Content-type: text/html" echo "" echo "" echo "" echo " " echo "Bash as CGI" strings -e S $OGLOGCOMMAND > $OGLOGCOMMANDTMP echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
" echo ""