#!/bin/csh -b

set emailaddr = $<

echo "Hi there, and welcome to the Gopher+ emailing service."
echo " "

#
# Strip out special characters to avoid crackers (and cheese :-))
#

set addr = `echo $emailaddr|tr -cd '[^A-Za-z0-1@._-+=#&:;,~]' `

echo "Okay, let's try and finger $addr...."
echo " "

/usr/ucb/finger $addr

echo " "
echo "Okay, now I'll send some mail to you..."
echo "Thanks for supporting Gopher\!"

/usr/ucb/mail -s "Gopher Information" $addr<< INFO

gopher+  n.  1. Hardier strains of mammals of the family 
Geomyidae.  2. (Amer. colloq.) Native or inhabitant of Minnesota, 
the Gopher state, in full winter regalia (see PARKA).  3. (Amer. 
colloq.) Executive secretary.  4. (computer tech.) Software 
following a simple protocol for burrowing through a TCP/IP 
internet, made more powerful by simple enhancements (see CREEPING 
FEATURISM).

INFO
