#!/bin/bash
for i in {-10..10}; do 
     nc=$(echo "scale=5; 111.2 + $i/5" | bc -l)
     sed "s/cch=111.2/cch=$nc/" et.inp  > c_${i}.inp
#gms c_${i}.inp 1 > c_${i}.log
echo -n "$nc    "
awk '/TOTAL ENERGY =/{print $4}'  c_${i}.log 


done