#!/bin/csh
#
# Sequential execution of R.E.D.-III
#  R.E.D.-III & R.E.DD.B. Tutorial 
#
echo " "; echo " R.E.D.-III & R.E.DD.B. Tutorial"; echo " ";
foreach JOB ( 3-Charges-* )
  cp RED-vIII.pl $JOB
  cd $JOB
  echo "$JOB"; echo " ";
  perl RED-vIII.pl > RED-vIII.log
  if -e ./RED-vIII.pl rm RED-vIII.pl
  cd ..
  tar cvf $JOB.tar $JOB > /dev/null
  bzip2 $JOB.tar
end

