#!/bin/csh -f
if ( $#argv != 2) then
  echo "Usage p-Can-Fwd <game> <race>"
  exit 1
endif
set game = $1
set race = $2
cd ~/$game
ADDNEW

set whom = `grep -i ^"${race}:" races:players | awk -F: '{print $2}'`
(echo "These are the players to whom you ($race) can presently forward:";\
 echo ""; grep -i ^${race}: ~/$game/X-ref) | mail -s "$game Forwarding list" $whom

exit 0
