#!/usr/bin/tcsh -f

foreach x ( $* )
 mv $x $x.unfixed
 sed s/test/toast/g $x.unfixed > $x
end

