#!/bin/csh

foreach i (npp.*.hdf)
   echo $i
   set j=$i:r
   set k=$j:e
#   echo $k
   mv $i eppley.$k.hdf
end

echo " "
ls -1 eppley*hdf
