diff options
| author | Paul Buetow <paul@buetow.org> | 2011-03-06 10:57:41 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-03-06 10:57:41 +0000 |
| commit | 213033db33be271791f2d9ff1c9c44c0bed79f18 (patch) | |
| tree | 1b3ff0d0eddfc7f6995afa67b5d3fc2ef8fa85a7 /scripts/mreplace.sh | |
initial xerl import to utils
Diffstat (limited to 'scripts/mreplace.sh')
| -rwxr-xr-x | scripts/mreplace.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/mreplace.sh b/scripts/mreplace.sh new file mode 100755 index 0000000..1ef5cc4 --- /dev/null +++ b/scripts/mreplace.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +for j in pm pl xml txt css +do + for i in `find . -name "*.$j"` + do + echo $i + sed "s/$1/$2/g" $i > temp + mv -f temp $i + done +done + |
