:

goToPar=3
Enter="}"
end="{9"

if(test $# -eq 0) then
echo "
This program is designed to change parameters of CalcHEP session 
in the batch mode. There are two forms of its usage
   change_par <file name>
and 
   change_par <name> <value> [... <name> <value>] 
The file have to contain two  columns,namely,  <name> and  <value> .
Here <name> is a name of parameter and <value> is a value to be 
assigned.
"
exit 1

fi

command=$goToPar

if(test $# -ne 1) then

for DATE in $*
do
  command=$command$DATE}
done

else 

if(test -r $1) then
Tot=`cat $1`

for DATE in $Tot
do
  command=$command$DATE}
done

else 

echo Can not read the file $1

exit 2

fi 
fi
echo "$command$end"

      ./n_calchep -blind "$command$end"

