#!/bin/sh

# disable filename globbing
set -f

echo Content-type: text/html
echo


awk -F: ' END {
x=split("'"$*"'",a)
x=split(a[5],b," ")
printf "%s^%s^%s^%s^%s^%s^%s^%s:%s\n","'"$REMOTE_USER"'","'"$REMOTE_ADDR"'",a[1],a[2],a[3],a[4],b[1],b[2],a[6] } ' >>ASIST
echo "
<script language=\"Javascript\">
window.close()
</script>"
