#!/bin/csh
cat << END
Content-Type: text/html

<head><title>$1 in the logs</title></head>
<body bgcolor="#ffffff">
<font size=+1>
$1 occurs in the mairs.net logs:<br>
</font>
<pre>
END
grep $1 /var/log/httpd/ac*g|grep -v 207\.182\.36|grep -v 198\.182\.118
cat << END
</pre></body>
END
