H='
==========
forward [-options] [file(s)]
==========
mail the named files to target (a mail address).  mailed files have
> in the left margin
==========
-a	addressee [cck]
-c	check for alias for following name
-h	menu
-s	subject header for mail [fyi]
	(no blanks allowed)
-x	debug
==========
'
SUBH=fyi
ADDR=cck
while	:
do
case $1 in
	-h)	clear;echo "$H";exit 0;;
	-a)	shift;ADDR="$1";;
	-c)	shift;egrep $1 $HOME/.mailrc;exit $?;;
	-s)	shift;SUBH="$1";;
	-x)	set -x;;
	-*)	clear;echo "$H";exit 69;;
	?*)	LIST="$LIST $1";;
esac
case $# in
	0)	break;;
	1)	break;;
	*)	shift;;
esac
done
#	sed -e 's/^/>/' $LIST
sed -e 's/^/>/' $LIST | mail -s "$SUBH" "$ADDR"
