#!/bin/csh foreach file ( gpl.txt lgpl.txt NOTICE NOTICE.html \ cif_core.dic.Z cif_mm.dic.Z index.html ) rm -rf $file end foreach file (*) if ( -d $file ) then if ( -e $file/.undosymlinks ) then (cd $file; source .undosymlinks) endif endif end