#!/bin/csh foreach f (*.c *.h mpfr.texi FAQ.html TODO) sed "s/$1/$2/g" $f > /tmp/$f mv /tmp/$f $f end cd tests foreach f (*.c *.h) sed "s/$1/$2/g" $f > /tmp/$f mv /tmp/$f $f end