diff options
| author | Paul Buetow (pluto.buetow.org) <paul@buetow.org> | 2013-09-07 15:26:18 +0200 |
|---|---|---|
| committer | Paul Buetow (pluto.buetow.org) <paul@buetow.org> | 2013-09-07 15:26:18 +0200 |
| commit | 48dbcd72995845b1e9d6fb69bdccf196c15234ef (patch) | |
| tree | 35544a1337ed6a4d82e1cf28c525a75094ccf893 /scripts/mreplace.sh | |
| parent | f7e49d8f7e7d4b68e44fe8b29baa57921893bf96 (diff) | |
enhance replace.sh
Diffstat (limited to 'scripts/mreplace.sh')
| -rwxr-xr-x | scripts/mreplace.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mreplace.sh b/scripts/mreplace.sh index 1ef5cc4..32f2c17 100755 --- a/scripts/mreplace.sh +++ b/scripts/mreplace.sh @@ -5,8 +5,7 @@ do for i in `find . -name "*.$j"` do echo $i - sed "s/$1/$2/g" $i > temp - mv -f temp $i + sed -i "s/$1/$2/g" $i > temp done done |
