#!/bin/tcsh

unalias touch

find `pwd` -type f -name "Makefile" -print > `pwd`/MakefileList

foreach i ( `cat ./MakefileList` )
	echo "Processing $i ..."
	sed -e 's#-D__VERSION__=\"\"Sun C++ 5.7 2005/03/03\"\"#-D__VERSION__=\"\\"Sun C++ 5.7 Patch 117831-03 2005/07/21\\"\"#g' $i > /tmp/k
	mv -f /tmp/k $i
end

