#!/bin/csh -f
foreach file ( `ls psf*.fits`)
  foreach i (0 1 2 3 4 5 6 7 8 9)
    echo File: $file  Ext: $i
    fmodhead $file\+$i mod.txt
  end
  echo ' '
end
