#!/bin/csh

set fnames = `ls -1 hail_daytona*.gif`

foreach fname ($fnames)

  set s1 = `echo $fname | cut -d_ -f1-3`
  set s2 = `echo $fname | cut -d_ -f5-`

  mv ${s1}_noq_${s2} ${s1}_n0q_${s2}

end

exit
