summaryrefslogtreecommitdiff
path: root/scripts/mreplace.sh
blob: 32f2c170beaf8548d5979ff1a0ba95030a207d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

for j in pm pl xml txt css
do
  for i in `find . -name "*.$j"`
  do
    echo $i
    sed -i "s/$1/$2/g" $i > temp
  done 
done