#!/bin/csh
#  a way to make lots of test request files
set TARGET_DIR=/u/richmond/bait/targets/
foreach i (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24)
  foreach j (-20 -10 +00 +10 +20 +30 +40 +50 +60)
    cp template.rqs "test$i$j.rqs"
    putsym file=test"$i""$j".rqs ra=\'"$i":00:00\' dec=\'"$j":00:00\' \
             reqid=\'"test$i$j"\' object=\'"test$i$j"\'
    mv "test$i$j.rqs" $TARGET_DIR
  end
end
pushd $TARGET_DIR
/bin/ls test*.rqs > NEWREQS
