#!/bin/csh
'rm' sum.dat
touch sum.dat
foreach file ($*)
  awk 'NR>4&&NR<13 {print $0}' $file >> sum.dat
  awk 'NR==13 {print 13,$1/10.}' $file >>sum.dat
  awk 'NR==14 {print 14,$16/100.}' $file >>sum.dat
end
