clear
echo " Comparison of the UBV pe and pg data"
echo ' '

echo -n " Give the pe reference:  "
read pef
echo ' '
echo -n " Give the pg reference:  "
read pgf
(zex ubv.peo | awkze 7 4 $pef ; zex ubv.pgo | awkze 7 4 $pgf ) |
sort -n +0 +1 > /usr2/mermio/bda/tmp/f3
echo $pef > /usr2/mermio/bda/tmp/f4
echo $pgf >> /usr2/mermio/bda/tmp/f4
c52
echo ' '

echo -n " Do you want to look at the file (y/n)?  "
read ans
case $ans in
y) echo ' ' ; more ubv.eca ; echo ' ' ;;
n) ;;
esac
echo ' '

echo -n " Do you want to plot the graphics (y/n)?  "
read grp
case $grp in
y) plt_eca.ubv ;;
n) echo ' ' ;;
esac

rm /usr2/mermio/bda/tmp/f4
