#!/bin/sh

for x in `cat 0LIST`
do
   rm -f tmp.pro
   echo ".compile $x " > tmp.pro
   echo "save,/rou,file='$x.sav' " >> tmp.pro 
   echo "exit "  >>  tmp.pro
   echo " "
   echo "---------------------------- $x ------------------------------"
   echo " "
   echo "@tmp.pro \n exit" | myidl 7.0
done

exit 0

