summaryrefslogtreecommitdiff
path: root/replace_all
blob: 42116f42bed300d374a435468ddcc448e5365f52 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/csh
foreach f (*.c mpfr.h mpfr-impl.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