#!/bin/csh

foreach i (*.out)
  mv -f $i ${i:r}.txt
end
