# Eliminate BIRCH from a user's account.
# Lines added to user .rc files all contain #_BIRCH.
# Remove these lines.

JOBID=$$

#. . . . . .  delete BIRCH directories
cd
flist=".login .cshrc .tcshrc .profile .bash_profile .bash_login .bashrc .zshenv"
for file in $flist 
do
   grep -v '#_BIRCH' $file > temp.$JOBID
   mv temp.$JOBID $file
   chmod 700 $file
done
