#!/bin/sh cat << EOM Content-type: text/html EOM echo 'You ' $REMOTE_USER '' >/tmp/newYou # echo 'are quering this page with ' $SERVER_SOFTWARE ''>>/tmp/newYou echo 'are quering this page ' >>/tmp/newYou echo 'from ' $REMOTE_HOST ' ('$REMOTE_ADDR')' >>/tmp/newYou echo 'with a ' $REQUEST_METHOD ' Request on' >>/tmp/newYou /bin/date >>/tmp/newYou echo '(local time).' >>/tmp/newYou echo 'If finger worked, you must be one of ' >>/tmp/newYou echo 'the following persons:'>>/tmp/newYou /usr/ucb/finger $REMOTE_USER@$REMOTE_HOST | /local/transcoo/httpd/cgi-bin/txt2pre>>/tmp/newYou cat << EOM Information about You

Information about you

EOM cat /tmp/newYou cat /tmp/newYou >>/tmp/oldYou2 echo '

Other that used this service

' cat /tmp/oldYou # cat /tmp/oldYou >>/tmp/newYou echo 'Someone queried this page' >/tmp/newYou echo 'from ' $REMOTE_HOST ' ('$REMOTE_ADDR')' >>/tmp/newYou echo 'with a ' $REQUEST_METHOD ' Request on' >>/tmp/newYou /bin/date >>/tmp/newYou echo '(local time).

' >>/tmp/newYou cat /tmp/oldYou >>/tmp/newYou mv /tmp/newYou /tmp/oldYou cat << EOM


Generated by You.cgi script. EOM