summaryrefslogtreecommitdiff
path: root/replace_all
blob: cdf14a6f288d6991387f101b686120cd04718e2a (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/csh
foreach f (*.c *.h mpfr.texi)
   sed "s/$1/$2/g" $f > /tmp/$f
   mv /tmp/$f $f
end
cd tests
foreach f (*.c)
   sed "s/$1/$2/g" $f > /tmp/$f
   mv /tmp/$f $f
end