:

goToGen="]]]]]]]]]]}"

if( test -r session.dat) then
   testStr=`grep Max: session.dat`
fi 

if(test "$testStr") then 
  if(test $# -ne 2) then
     echo ERROR!. $0 need two parameters:
     echo "1   number of events"
     echo "2   number of steps to find new maximum"                
     exit 1
  else
     n_calchep -blind $goToGen}$1}]]}$2}]}{9
  fi
else 
  echo " Generator is not prepared!" 
  exit 1
fi
