#!/bin/csh
foreach file (*.bak)
  set nobak=`echo $file | sed 's/.bak//g'`
  cp -f $file $nobak
end
