#!/bin/csh -f # # rpush - written by Kevin P. Inscoe 12/17/97 # # # check and parse remote host to push login files to # if ( $1 == "" ) then /usr/ucb/echo -n "Enter hostname to push login files to: " set rhost = $< else set rhost = $1 endif # # do it # /bin/echo "Pushing login files to" $rhost "..." /usr/bin/rcp $HOME/.login `/bin/echo $rhost`: /usr/bin/rcp $HOME/.cshrc `/bin/echo $rhost`: #/usr/bin/rcp $HOME/.profile `/bin/echo $rhost`:/.profile # # cleanup & exit #