3 if [ "$1" == "1l2y_csa_4P" ]; then
4 file=1l2y_csa_4P.CSA.history
7 if [ ! -f $file ]; then
8 echo "CRITICAL: out $file do not exist"
12 emin=`grep jlee $file |awk '{print $10}'`
14 echo 'difference ' `echo "a=$emin+215.41208;if(0>a)a*=-1;a"|bc -l` ' from reference emin -215.41208'
15 if [ `echo "a=$emin+215.41208;if(0>a)a*=-1;a>5.0"|bc -l` != "0" ]; then
16 echo 'ERROR difference from reference emin -215.41208 greater than 5.0'