#!/bin/csh -f \rm runall.log foreach i (`ls *.mac`) echo ' Runing ' $i time ../bin/$G4SYSTEM/exRDM $i >>& runall.log end