#!/bin/sh m=105 while test $m -lt 500 do echo Set Higgs mass $m GeV and calculating the cross sections........ sed -e "s/M_HIGGS = 120.D0/M_HIGGS = $m.D0/" higlu.in0 > higlu.in #--------------------------------------------------- ./run.exe > out #--------------------------------------------------- grep "SIG_NLO" higlu.out > tmp | sed -e "s/ SIG_NLO =/$m/" tmp >> h_gg_cross.dat m=`expr $m + 10` done sed -e "s/+-//g" h_gg_cross.dat > tmp sed -e "s/PB//g" tmp > h_gg_cross.dat echo Cross section calculation ended, h_gg_cross.dat created.