#!/bin/sh
#####################################
# Copyright 1998 by Kevin MacDonald #
# kmacdo01@student.vill.edu         #
#                                   #
# This is the timimng script for    #
# getting the weather               #
#####################################

if (test -e $1.pmp) then
  rm $1.pmp
fi

sleep 2
echo
sleep 2
echo $1
echo -e "\r"
while !(test -e ./$1.pmp) do
  sleep 2
  echo -e "\r"
  grep "+-+" $1.temp > $1.t
    if (test -s $1.t) then
      echo "hi" > $1.pmp
    fi
done
rm $1.pmp 
rm $1.t
